mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-11 23:54:04 +02:00
Merge pull request #1355 from ScullWM/error_handler_signature
Fix error_handler return type declaration
This commit is contained in:
@@ -182,6 +182,8 @@ class NormalizerFormatterTest extends \PHPUnit\Framework\TestCase
|
||||
restore_error_handler();
|
||||
$that->fail("$message should not be raised");
|
||||
}
|
||||
|
||||
return true;
|
||||
});
|
||||
|
||||
$formatter = new NormalizerFormatter();
|
||||
@@ -215,6 +217,8 @@ class NormalizerFormatterTest extends \PHPUnit\Framework\TestCase
|
||||
restore_error_handler();
|
||||
$that->fail("$message should not be raised");
|
||||
}
|
||||
|
||||
return true;
|
||||
});
|
||||
|
||||
$formatter = new NormalizerFormatter();
|
||||
|
@@ -34,6 +34,8 @@ class RotatingFileHandlerTest extends TestCase
|
||||
'code' => $code,
|
||||
'message' => $message,
|
||||
];
|
||||
|
||||
return true;
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user