8000 cs · symfony/symfony@86f6f53 · GitHub
[go: up one dir, main page]

Skip to content

Commit 86f6f53

Browse files
committed
cs
1 parent fe610c1 commit 86f6f53

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Symfony/Component/Lock/Tests/LockTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ public function testAcquireReadBlockingWithPersistingStoreInterface()
512512
public function testAcquireTwiceWithExpiration()
513513
{
514514
$key = new Key(uniqid(__METHOD__, true));
515-
$store = new class implements PersistingStoreInterface {
515+
$store = new class() implements PersistingStoreInterface {
516516
use ExpiringStoreTrait;
517517
private $keys = [];
518518
private $initialTtl = 30;
@@ -522,6 +522,7 @@ public function save(Key $key)
522522
$key->reduceLifetime($this->initialTtl);
523523
$this->keys[spl_object_hash($key)] = $key;
524524
$this->checkNotExpired($key);
525+
525526
return true;
526527
}
527528

0 commit comments

Comments
 (0)
0