]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Lock/ILockDriver.php
some minor fixings
[friendica.git] / src / Core / Lock / ILockDriver.php
index 2ee145980c5bae0bf5572f548d958f8fe3cca621..7df5b3f87aaad43e7a1064fcc0113100c4485779 100644 (file)
@@ -33,17 +33,17 @@ interface ILockDriver
        /**
         * Releases a lock if it was set by us
         *
-        * @param string $key   The Name of the lock
-        * @param bool   $force Force the lock to get released
+        * @param string $key      The Name of the lock
+        * @param bool   $override Overrides the lock to get released
         *
-        * @return void
+        * @return boolean Was the unlock successful?
         */
-       public function releaseLock($key, $force = false);
+       public function releaseLock($key, $override = false);
 
        /**
         * Releases all lock that were set by us
         *
-        * @return void
+        * @return boolean Was the unlock of all locks successful?
         */
        public function releaseAll();
 }