Skip to content

Commit 7e5daa9

Browse files
committed
Fix
1 parent a487f03 commit 7e5daa9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/ErrorHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ final class ErrorHandler
4949
private $emailCallback;
5050

5151
/** @var callable */
52-
private $errorLogCallback = '\\error_log';
52+
private $errorLogCallback = '\error_log';
5353

5454
/** @var array<int, bool> */
5555
private array $scream = [];

tests/ErrorHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ public function test404ExceptionCanBeDisabledToSendEmail(): void
303303
public function testCanSetCustomErrorLogCallback(): void
304304
{
305305
$this->errorHandler->setLogErrors(true);
306-
self::assertSame('\\error_log', $this->errorHandler->getErrorLogCallback());
306+
self::assertSame('\error_log', $this->errorHandler->getErrorLogCallback());
307307

308308
$data = [];
309309
$customCallback = static function (string $text) use (& $data): void {

0 commit comments

Comments
 (0)