File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -373,7 +373,7 @@ public function testSuccessReleaseLog()
373
373
{
374
374
$ key = new Key ((string ) random_int (100 , 1000 ));
375
375
$ store = new InMemoryStore ();
376
- $ logger = new class () extends AbstractLogger {
376
+ $ logger = new class extends AbstractLogger {
377
377
private array $ logs = [];
378
378
379
379
public function log ($ level , $ message , array $ context = []): void
@@ -468,7 +468,7 @@ public function testAcquireReadNoBlockingWithSharedLockStoreInterface()
468
468
public function testAcquireReadTwiceWithExpiration ()
469
469
{
470
470
$ key = new Key (__METHOD__ );
471
- $ store = new class () implements PersistingStoreInterface {
471
+ $ store = new class implements PersistingStoreInterface {
472
472
use ExpiringStoreTrait;
473
473
private array $ keys = [];
474
474
private int $ initialTtl = 30 ;
@@ -512,7 +512,7 @@ public function putOffExpiration(Key $key, $ttl): void
512
512
public function testAcquireTwiceWithExpiration ()
513
513
{
514
514
$ key = new Key (__METHOD__ );
515
- $ store = new class () implements PersistingStoreInterface {
515
+ $ store = new class implements PersistingStoreInterface {
516
516
use ExpiringStoreTrait;
517
517
private array $ keys = [];
518
518
private int $ initialTtl = 30 ;
You can’t perform that action at this time.
0 commit comments