File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -232,15 +232,15 @@ public function provideMutexFactories()
232
232
'flockWithTimoutPcntl ' => [function ($ timeout = 3 ) use ($ filename ): Mutex {
233
233
$ file = fopen ($ filename , 'w ' );
234
234
$ lock = Liberator::liberate (new FlockMutex ($ file , $ timeout ));
235
- $ lock ->stategy = FlockMutex::STRATEGY_PCNTL ; // @phpstan-ignore-line
235
+ $ lock ->strategy = FlockMutex::STRATEGY_PCNTL ; // @phpstan-ignore-line
236
236
237
237
return $ lock ->popsValue ();
238
238
}],
239
239
240
240
'flockWithTimoutBusy ' => [function ($ timeout = 3 ) use ($ filename ): Mutex {
241
241
$ file = fopen ($ filename , 'w ' );
242
242
$ lock = Liberator::liberate (new FlockMutex ($ file , $ timeout ));
243
- $ lock ->stategy = FlockMutex::STRATEGY_BUSY ; // @phpstan-ignore-line
243
+ $ lock ->strategy = FlockMutex::STRATEGY_BUSY ; // @phpstan-ignore-line
244
244
245
245
return $ lock ->popsValue ();
246
246
}],
Original file line number Diff line number Diff line change @@ -54,15 +54,15 @@ public function provideMutexFactories()
54
54
'flockWithTimoutPcntl ' => [function (): Mutex {
55
55
$ file = fopen (vfsStream::url ('test/lock ' ), 'w ' );
56
56
$ lock = Liberator::liberate (new FlockMutex ($ file , 3 ));
57
- $ lock ->stategy = FlockMutex::STRATEGY_PCNTL ; // @phpstan-ignore-line
57
+ $ lock ->strategy = FlockMutex::STRATEGY_PCNTL ; // @phpstan-ignore-line
58
58
59
59
return $ lock ->popsValue ();
60
60
}],
61
61
62
62
'flockWithTimoutBusy ' => [function ($ timeout = 3 ): Mutex {
63
63
$ file = fopen (vfsStream::url ('test/lock ' ), 'w ' );
64
64
$ lock = Liberator::liberate (new FlockMutex ($ file , 3 ));
65
- $ lock ->stategy = FlockMutex::STRATEGY_BUSY ; // @phpstan-ignore-line
65
+ $ lock ->strategy = FlockMutex::STRATEGY_BUSY ; // @phpstan-ignore-line
66
66
67
67
return $ lock ->popsValue ();
68
68
}],
You can’t perform that action at this time.
0 commit comments