mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-21 15:45:36 +08:00
cs-fix
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user