mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-16 10:04:14 +02:00
Wrap up type-hint adding to all handlers
This commit is contained in:
@@ -163,7 +163,7 @@ class NewRelicHandlerTest extends TestCase
|
||||
|
||||
class StubNewRelicHandlerWithoutExtension extends NewRelicHandler
|
||||
{
|
||||
protected function isNewRelicEnabled()
|
||||
protected function isNewRelicEnabled(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
@@ -171,7 +171,7 @@ class StubNewRelicHandlerWithoutExtension extends NewRelicHandler
|
||||
|
||||
class StubNewRelicHandler extends NewRelicHandler
|
||||
{
|
||||
protected function isNewRelicEnabled()
|
||||
protected function isNewRelicEnabled(): bool
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@@ -23,7 +23,7 @@ class SyslogUdpHandlerTest extends TestCase
|
||||
*/
|
||||
public function testWeValidateFacilities()
|
||||
{
|
||||
$handler = new SyslogUdpHandler("ip", null, "invalidFacility");
|
||||
$handler = new SyslogUdpHandler("ip", 514, "invalidFacility");
|
||||
}
|
||||
|
||||
public function testWeSplitIntoLines()
|
||||
|
Reference in New Issue
Block a user