This commit is contained in:
crazywhalecc
2024-10-02 20:31:16 +08:00
committed by Jerry Ma
parent 2d9f879994
commit ef1a9646e4
72 changed files with 107 additions and 234 deletions

View File

@@ -95,7 +95,7 @@ class HttpEventListenerTest extends TestCase
return $event->reveal();
}
private function mockHandler(bool $should_be_called, callable $callback = null): self
private function mockHandler(bool $should_be_called, ?callable $callback = null): self
{
$handler = $this->prophesize(self::class);
if ($should_be_called) {