Normalize call normalizeRecord if necessary #834
Annotations
10 errors
PHPStan (8.1):
src/Monolog/Formatter/GoogleCloudLoggingFormatter.php#L27
Method Monolog\Formatter\GoogleCloudLoggingFormatter::normalizeRecord() has invalid return type Monolog\Formatter\stdClass.
|
PHPStan (8.1):
src/Monolog/Formatter/GoogleCloudLoggingFormatter.php#L27
Method Monolog\Formatter\GoogleCloudLoggingFormatter::normalizeRecord() return type has no value type specified in iterable type array.
|
PHPStan (8.1):
src/Monolog/Formatter/JsonFormatter.php#L108
Method Monolog\Formatter\JsonFormatter::normalizeRecord() has invalid return type Monolog\Formatter\stdClass.
|
PHPStan (8.1):
src/Monolog/Formatter/JsonFormatter.php#L108
Method Monolog\Formatter\JsonFormatter::normalizeRecord() return type has no value type specified in iterable type array.
|
PHPStan (8.1):
src/Monolog/Formatter/JsonFormatter.php#L108
Return type (array<array|bool|float|int|Monolog\Formatter\stdClass|string|null>) of method Monolog\Formatter\JsonFormatter::normalizeRecord() should be covariant with return type (array<array|bool|float|int|string|null>) of method Monolog\Formatter\NormalizerFormatter::normalizeRecord()
|
PHPStan (8.1):
src/Monolog/Formatter/JsonFormatter.php#L127
Method Monolog\Formatter\JsonFormatter::normalizeRecord() should return array<array|bool|float|int|Monolog\Formatter\stdClass|string|null> but returns array<array|bool|float|int|stdClass|string|null>.
|
PHPStan (8.1):
src/Monolog/Formatter/LogglyFormatter.php#L38
Method Monolog\Formatter\LogglyFormatter::normalizeRecord() has invalid return type Monolog\Formatter\stdClass.
|
PHPStan (8.1):
src/Monolog/Formatter/LogglyFormatter.php#L38
Method Monolog\Formatter\LogglyFormatter::normalizeRecord() return type has no value type specified in iterable type array.
|
PHPStan (8.1):
src/Monolog/Formatter/LogmaticFormatter.php#L55
Method Monolog\Formatter\LogmaticFormatter::normalizeRecord() has invalid return type Monolog\Formatter\stdClass.
|
PHPStan (8.1):
src/Monolog/Formatter/LogmaticFormatter.php#L55
Method Monolog\Formatter\LogmaticFormatter::normalizeRecord() return type has no value type specified in iterable type array.
|