Skip to content

Commit c1d0f93

Browse files
committed
monolog compatability fix
1 parent c93b6b3 commit c1d0f93

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Model/Logger/Handler/Debug.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
namespace Magento\CloudComponents\Model\Logger\Handler;
99

10+
use Monolog\LogRecord;
11+
1012
/**
1113
* Debug handler which doesn't require debug mode enabled
1214
*/
@@ -16,7 +18,7 @@ class Debug extends \Magento\Framework\Logger\Handler\Debug
1618
* @param array $record
1719
* @return mixed
1820
*/
19-
public function isHandling(array $record): bool
21+
public function isHandling(LogRecord $record): bool
2022
{
2123
return parent::isHandling($record);
2224
}

0 commit comments

Comments
 (0)