Skip to content

Commit 69bf63a

Browse files
authored
Revert "[Backport v25-branch] Fixes a compatibility issue with Monolog 3.x"
1 parent 5082735 commit 69bf63a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

inc/class-loggerexceptionhandler.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
namespace Altis\Cloud;
99

1010
use Monolog\Handler\HandlerWrapper;
11-
use Monolog\LogRecord;
1211
use Throwable;
1312

1413
/**
@@ -19,11 +18,10 @@ class LoggerExceptionHandler extends HandlerWrapper {
1918
/**
2019
* Check handler for exceptions.
2120
*
22-
* @param LogRecord $record The structured error log record.
23-
*
21+
* @param array $record The structured error log record.
2422
* @return bool
2523
*/
26-
public function handle( LogRecord $record ) : bool {
24+
public function handle( array $record ) : bool {
2725
try {
2826
return $this->handler->handle( $record );
2927
} catch ( Throwable $e ) {

0 commit comments

Comments
 (0)