mirror of
https://github.com/friendica/friendica
synced 2025-04-28 19:44:23 +02:00
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
|
@ -22,7 +22,7 @@ abstract class AbstractLockDriver implements ILockDriver
|
|||
* @param string key The Name of the lock
|
||||
* @return bool Returns true if the lock is set
|
||||
*/
|
||||
protected function hasAcquiredLock(string $key) {
|
||||
protected function hasAcquiredLock($key) {
|
||||
return isset($this->acquireLock[$key]);
|
||||
}
|
||||
|
||||
|
@ -31,7 +31,7 @@ abstract class AbstractLockDriver implements ILockDriver
|
|||
*
|
||||
* @param string $key The Name of the lock
|
||||
*/
|
||||
protected function markAcquire(string $key) {
|
||||
protected function markAcquire($key) {
|
||||
$this->acquiredLocks[$key] = true;
|
||||
}
|
||||
|
||||
|
@ -40,7 +40,7 @@ abstract class AbstractLockDriver implements ILockDriver
|
|||
*
|
||||
* @param string $key The Name of the lock
|
||||
*/
|
||||
protected function markRelease(string $key) {
|
||||
protected function markRelease($key) {
|
||||
unset($this->acquiredLocks[$key]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue