updated-packages
This commit is contained in:
@@ -38,7 +38,7 @@ interface ProfilerStorageInterface
|
||||
*
|
||||
* @return array An array of tokens
|
||||
*/
|
||||
public function find($ip, $url, $limit, $method, $start = null, $end = null);
|
||||
public function find($ip, $url, $limit, $method, $start = null, $end = null): array;
|
||||
|
||||
/**
|
||||
* Reads data associated with the given token.
|
||||
@@ -47,16 +47,16 @@ interface ProfilerStorageInterface
|
||||
*
|
||||
* @param string $token A token
|
||||
*
|
||||
* @return Profile The profile associated with token
|
||||
* @return Profile|null The profile associated with token
|
||||
*/
|
||||
public function read($token);
|
||||
public function read($token): ?Profile;
|
||||
|
||||
/**
|
||||
* Saves a Profile.
|
||||
*
|
||||
* @return bool Write operation successful
|
||||
*/
|
||||
public function write(Profile $profile);
|
||||
public function write(Profile $profile): bool;
|
||||
|
||||
/**
|
||||
* Purges all data from the database.
|
||||
|
Reference in New Issue
Block a user