X-Git-Url: https://git.cyclocoop.org/%28%28?a=blobdiff_plain;f=includes%2Ffilebackend%2Flockmanager%2FLockManager.php;h=eff031b58b5333e9b56036e1f56a4a3ea1c34c8e;hb=c64c3ef9a8f33d89df9a801efa6c1d498f8722b1;hp=a3cb3b198656c583d4c3281e5a3a3293d542d3a4;hpb=f0d760a0773eaaf840b8e5a1649b5c6a0f705f9d;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/filebackend/lockmanager/LockManager.php b/includes/filebackend/lockmanager/LockManager.php index a3cb3b1986..eff031b58b 100644 --- a/includes/filebackend/lockmanager/LockManager.php +++ b/includes/filebackend/lockmanager/LockManager.php @@ -87,7 +87,7 @@ abstract class LockManager { * @param array $paths List of resource names * @param int $type LockManager::LOCK_* constant * @param int $timeout Timeout in seconds (0 means non-blocking) (since 1.21) - * @return Status + * @return StatusValue */ final public function lock( array $paths, $type = self::LOCK_EX, $timeout = 0 ) { return $this->lockByType( [ $type => $paths ], $timeout ); @@ -98,7 +98,7 @@ abstract class LockManager { * * @param array $pathsByType Map of LockManager::LOCK_* constants to lists of paths * @param int $timeout Timeout in seconds (0 means non-blocking) (since 1.21) - * @return Status + * @return StatusValue * @since 1.22 */ final public function lockByType( array $pathsByType, $timeout = 0 ) { @@ -123,7 +123,7 @@ abstract class LockManager { * * @param array $paths List of paths * @param int $type LockManager::LOCK_* constant - * @return Status + * @return StatusValue */ final public function unlock( array $paths, $type = self::LOCK_EX ) { return $this->unlockByType( [ $type => $paths ] ); @@ -133,7 +133,7 @@ abstract class LockManager { * Unlock the resources at the given abstract paths * * @param array $pathsByType Map of LockManager::LOCK_* constants to lists of paths - * @return Status + * @return StatusValue * @since 1.22 */ final public function unlockByType( array $pathsByType ) { @@ -187,7 +187,7 @@ abstract class LockManager { /** * @see LockManager::lockByType() * @param array $pathsByType Map of LockManager::LOCK_* constants to lists of paths - * @return Status + * @return StatusValue * @since 1.22 */ protected function doLockByType( array $pathsByType ) { @@ -214,14 +214,14 @@ abstract class LockManager { * * @param array $paths List of paths * @param int $type LockManager::LOCK_* constant - * @return Status + * @return StatusValue */ abstract protected function doLock( array $paths, $type ); /** * @see LockManager::unlockByType() * @param array $pathsByType Map of LockManager::LOCK_* constants to lists of paths - * @return Status + * @return StatusValue * @since 1.22 */ protected function doUnlockByType( array $pathsByType ) { @@ -238,7 +238,7 @@ abstract class LockManager { * * @param array $paths List of paths * @param int $type LockManager::LOCK_* constant - * @return Status + * @return StatusValue */ abstract protected function doUnlock( array $paths, $type ); }