diff --git a/tests/Stub/FatalErrorTestStub.php b/tests/Stub/FatalErrorTestStub.php index 98a6745e..fa43da2a 100644 --- a/tests/Stub/FatalErrorTestStub.php +++ b/tests/Stub/FatalErrorTestStub.php @@ -8,7 +8,7 @@ class FatalErrorTestStub extends BrokenTestBase implements BrokenTestInterface { public function testBrokenTest(): void { - $foo = new class () implements \JsonSerializable {}; + $foo = new class implements \JsonSerializable {}; $message = 'This assertion should not happen: ' . json_encode($foo, JSON_THROW_ON_ERROR);