diff --git a/tests/LoggerTest.php b/tests/LoggerTest.php index 798390e..170cf68 100644 --- a/tests/LoggerTest.php +++ b/tests/LoggerTest.php @@ -60,7 +60,7 @@ public function testLogThrowable() public function testLoggingLoopDetection() { $logger = new Logger('test', [ - $handler = new class() extends TestHandler { + $handler = new class extends TestHandler { protected function write(array|LogRecord $record): void { usleep(1);