mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-05 12:47:39 +02:00
Fix build
This commit is contained in:
@@ -30,6 +30,12 @@ parameters:
|
|||||||
count: 1
|
count: 1
|
||||||
path: src/Monolog/Formatter/JsonFormatter.php
|
path: src/Monolog/Formatter/JsonFormatter.php
|
||||||
|
|
||||||
|
-
|
||||||
|
message: '#^Return type \(array\<array\<mixed\>\|bool\|float\|int\|stdClass\|string\|null\>\) of method Monolog\\Formatter\\JsonFormatter\:\:normalizeRecord\(\) should be covariant with return type \(array\<array\<mixed\>\|bool\|float\|int\|string\|null\>\) of method Monolog\\Formatter\\NormalizerFormatter\:\:normalizeRecord\(\)$#'
|
||||||
|
identifier: method.childReturnType
|
||||||
|
count: 1
|
||||||
|
path: src/Monolog/Formatter/JsonFormatter.php
|
||||||
|
|
||||||
-
|
-
|
||||||
message: '#^Method Monolog\\Formatter\\NormalizerFormatter\:\:normalizeException\(\) should return array\<string, array\<array\<string\>\|int\|string\>\|int\|string\>\|string but returns array\<int, string\>\.$#'
|
message: '#^Method Monolog\\Formatter\\NormalizerFormatter\:\:normalizeException\(\) should return array\<string, array\<array\<string\>\|int\|string\>\|int\|string\>\|string but returns array\<int, string\>\.$#'
|
||||||
identifier: return.type
|
identifier: return.type
|
||||||
|
@@ -101,7 +101,7 @@ class JsonFormatter extends NormalizerFormatter
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return array<array|bool|float|int|stdClass|string|null>
|
* @return array<array<mixed>|bool|float|int|\stdClass|string|null>
|
||||||
*/
|
*/
|
||||||
protected function normalizeRecord(LogRecord $record): array
|
protected function normalizeRecord(LogRecord $record): array
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user