File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ final class ErrorHandler
49
49
private $ emailCallback ;
50
50
51
51
/** @var callable */
52
- private $ errorLogCallback = '\\ error_log ' ;
52
+ private $ errorLogCallback = '\error_log ' ;
53
53
54
54
/** @var array<int, bool> */
55
55
private array $ scream = [];
Original file line number Diff line number Diff line change @@ -303,7 +303,7 @@ public function test404ExceptionCanBeDisabledToSendEmail(): void
303
303
public function testCanSetCustomErrorLogCallback (): void
304
304
{
305
305
$ this ->errorHandler ->setLogErrors (true );
306
- self ::assertSame ('\\ error_log ' , $ this ->errorHandler ->getErrorLogCallback ());
306
+ self ::assertSame ('\error_log ' , $ this ->errorHandler ->getErrorLogCallback ());
307
307
308
308
$ data = [];
309
309
$ customCallback = static function (string $ text ) use (& $ data ): void {
You can’t perform that action at this time.
0 commit comments