Skip to content

Commit 8883b0e

Browse files
author
blacklizer
committed
Fix compatibility
1 parent 2342e73 commit 8883b0e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Monolog/FingersCrossed/IgnoreHttpNotFoundActivationStrategy.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use Monolog\Handler\FingersCrossed\ErrorLevelActivationStrategy;
66
use Monolog\Logger;
7+
use Monolog\LogRecord;
78
use Symfony\Component\HttpKernel\Exception\HttpException;
89

910
/**
@@ -31,7 +32,7 @@ public function __construct($actionLevel = Logger::WARNING)
3132
/**
3233
* {@inheritdoc}
3334
*/
34-
public function isHandlerActivated(array $record): bool
35+
public function isHandlerActivated(LogRecord $record): bool
3536
{
3637
$isActivated = parent::isHandlerActivated($record);
3738

0 commit comments

Comments
 (0)