File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ protected function unblockSignals(): void
281281 /**
282282 * Check if signals are currently blocked
283283 */
284- protected function areSignalsBlocked (): bool
284+ protected function signalsBlocked (): bool
285285 {
286286 return $ this ->signalsBlocked ;
287287 }
Original file line number Diff line number Diff line change @@ -84,9 +84,9 @@ public function testWithSignalsBlocked(callable $operation)
8484 return $ this ->withSignalsBlocked ($ operation );
8585 }
8686
87- public function testAreSignalsBlocked (): bool
87+ public function testSignalsBlocked (): bool
8888 {
89- return $ this ->areSignalsBlocked ();
89+ return $ this ->signalsBlocked ();
9090 }
9191
9292 public function testMapSignal (int $ signal , string $ method ): void
Original file line number Diff line number Diff line change @@ -144,16 +144,16 @@ public function testRunningState(): void
144144
145145 public function testSignalBlocking (): void
146146 {
147- $ this ->assertFalse ($ this ->command ->testAreSignalsBlocked ());
147+ $ this ->assertFalse ($ this ->command ->testSignalsBlocked ());
148148
149149 $ result = $ this ->command ->testWithSignalsBlocked (function (): string {
150- $ this ->assertTrue ($ this ->command ->testAreSignalsBlocked ());
150+ $ this ->assertTrue ($ this ->command ->testSignalsBlocked ());
151151
152152 return 'test_result ' ;
153153 });
154154
155155 $ this ->assertSame ('test_result ' , $ result );
156- $ this ->assertFalse ($ this ->command ->testAreSignalsBlocked ());
156+ $ this ->assertFalse ($ this ->command ->testSignalsBlocked ());
157157 }
158158
159159 public function testSignalMethodMapping (): void
@@ -174,7 +174,7 @@ public function testResetState(): void
174174 $ this ->command ->testResetState ();
175175
176176 $ this ->assertFalse ($ this ->command ->testShouldTerminate ());
177- $ this ->assertFalse ($ this ->command ->testAreSignalsBlocked ());
177+ $ this ->assertFalse ($ this ->command ->testSignalsBlocked ());
178178 }
179179
180180 public function testSignalNameGeneration (): void
You can’t perform that action at this time.
0 commit comments