We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe610c1 commit 86f6f53Copy full SHA for 86f6f53
src/Symfony/Component/Lock/Tests/LockTest.php
@@ -512,7 +512,7 @@ public function testAcquireReadBlockingWithPersistingStoreInterface()
512
public function testAcquireTwiceWithExpiration()
513
{
514
$key = new Key(uniqid(__METHOD__, true));
515
- $store = new class implements PersistingStoreInterface {
+ $store = new class() implements PersistingStoreInterface {
516
use ExpiringStoreTrait;
517
private $keys = [];
518
private $initialTtl = 30;
@@ -522,6 +522,7 @@ public function save(Key $key)
522
$key->reduceLifetime($this->initialTtl);
523
$this->keys[spl_object_hash($key)] = $key;
524
$this->checkNotExpired($key);
525
+
526
return true;
527
}
528
0 commit comments