diff --git a/src/ITelmenko/Logger/Monolog/Handler/MysqlHandler.php b/src/ITelmenko/Logger/Monolog/Handler/MysqlHandler.php index 0b0425c..1c8f08a 100644 --- a/src/ITelmenko/Logger/Monolog/Handler/MysqlHandler.php +++ b/src/ITelmenko/Logger/Monolog/Handler/MysqlHandler.php @@ -7,7 +7,11 @@ class MysqlHandler extends AbstractProcessingHandler { - protected function write(array $record):void + /** + * @param array|Monolog\LogRecord $record + * @return void + */ + protected function write($record): void { Log::create([ 'instance' => gethostname(),