Deleting parameter-types of methods (lack of support in PHP 5.6)
This commit is contained in:
parent
4b7be15560
commit
ad5ee75159
6 changed files with 13 additions and 13 deletions
|
@ -18,7 +18,7 @@ interface ILockDriver
|
|||
*
|
||||
* @return boolean Was the lock successful?
|
||||
*/
|
||||
public function acquireLock(string $key, int $timeout = 120);
|
||||
public function acquireLock($key, $timeout = 120);
|
||||
|
||||
/**
|
||||
* @brief Releases a lock if it was set by us
|
||||
|
@ -27,7 +27,7 @@ interface ILockDriver
|
|||
*
|
||||
* @return void
|
||||
*/
|
||||
public function releaseLock(string $key);
|
||||
public function releaseLock($key);
|
||||
|
||||
/**
|
||||
* @brief Releases all lock that were set by us
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue