1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-07-26 03:01:23 +02:00

fix monolog 3 compat (#506)

This commit is contained in:
Vincent Reitz
2022-10-31 14:24:56 +01:00
committed by GitHub
parent 477ed030cc
commit c7496b7856

View File

@@ -57,9 +57,9 @@ class MonologCollector extends AbstractProcessingHandler implements DataCollecto
} }
/** /**
* @param array $record * @param array|\Monolog\LogRecord $record
*/ */
protected function write(array $record): void protected function write($record): void
{ {
$this->records[] = array( $this->records[] = array(
'message' => $record['formatted'], 'message' => $record['formatted'],