]> git.mxchange.org Git - friendica.git/blobdiff - tests/Util/DbaLockMockTrait.php
Merge pull request #8118 from annando/spamcheck
[friendica.git] / tests / Util / DbaLockMockTrait.php
index 5b405dcfc275b9175267f79acb0f24ff576c8970..b7b9fb91da02fd00bb06729e2ec573667e11de6a 100644 (file)
@@ -2,7 +2,7 @@
 
 namespace Friendica\Test\Util;
 
-use Friendica\Core\Cache;
+use Friendica\Core\Cache\Cache;
 use Friendica\Core\Lock\DatabaseLock;
 
 trait DbaLockMockTrait
@@ -22,7 +22,7 @@ trait DbaLockMockTrait
         * @param null     $time      The current timestamp
         * @param null|int $times     How often the method will get used
         *
-        *@see DatabaseLock::acquireLock()
+        *@see DatabaseLock::acquire()
         *
         */
        public function mockAcquireLock($key, $ttl = Cache::FIVE_MINUTES, $locked = false, $pid = null, $rowExists = true, $time = null, $times = null)
@@ -103,7 +103,7 @@ trait DbaLockMockTrait
         * @param null|int $pid    The PID which was set
         * @param null|int $times  How often the method will get used
         *
-        *@see DatabaseLock::releaseLock()
+        *@see DatabaseLock::release()
         *
         */
        public function mockReleaseLock($key, $pid = null, $times = null)