diff --git a/.gitignore b/.gitignore index 22d0d82..ecdf2d7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ vendor +.idea diff --git a/src/Mutex.php b/src/Mutex.php index 4203d1b..12ab753 100644 --- a/src/Mutex.php +++ b/src/Mutex.php @@ -26,6 +26,9 @@ public function __construct(Command $command) $this->ninja = new Ninja($command->getMutexName(), $this->strategy); } + /** + * @return FlockLock|MemcachedLock|MySqlLock|PhpRedisLock|PredisRedisLock + */ public function getStrategy() { if (!empty($this->strategy)) {