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()
232232 'flockWithTimoutPcntl ' => [function ($ timeout = 3 ) use ($ filename ): Mutex {
233233 $ file = fopen ($ filename , 'w ' );
234234 $ 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
236236
237237 return $ lock ->popsValue ();
238238 }],
239239
240240 'flockWithTimoutBusy ' => [function ($ timeout = 3 ) use ($ filename ): Mutex {
241241 $ file = fopen ($ filename , 'w ' );
242242 $ 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
244244
245245 return $ lock ->popsValue ();
246246 }],
Original file line number Diff line number Diff line change @@ -54,15 +54,15 @@ public function provideMutexFactories()
5454 'flockWithTimoutPcntl ' => [function (): Mutex {
5555 $ file = fopen (vfsStream::url ('test/lock ' ), 'w ' );
5656 $ 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
5858
5959 return $ lock ->popsValue ();
6060 }],
6161
6262 'flockWithTimoutBusy ' => [function ($ timeout = 3 ): Mutex {
6363 $ file = fopen (vfsStream::url ('test/lock ' ), 'w ' );
6464 $ 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
6666
6767 return $ lock ->popsValue ();
6868 }],
You can’t perform that action at this time.
0 commit comments