mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-04 12:17:35 +02:00
Remove typehints on normalizer formatter to avoid invalid function signatures
This commit is contained in:
@@ -39,7 +39,7 @@ class NormalizerFormatter implements FormatterInterface
|
|||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function format(array $record): array
|
public function format(array $record)
|
||||||
{
|
{
|
||||||
return $this->normalize($record);
|
return $this->normalize($record);
|
||||||
}
|
}
|
||||||
@@ -47,7 +47,7 @@ class NormalizerFormatter implements FormatterInterface
|
|||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function formatBatch(array $records): array
|
public function formatBatch(array $records)
|
||||||
{
|
{
|
||||||
foreach ($records as $key => $record) {
|
foreach ($records as $key => $record) {
|
||||||
$records[$key] = $this->format($record);
|
$records[$key] = $this->format($record);
|
||||||
|
Reference in New Issue
Block a user