1
0
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:
Jordi Boggiano
2017-06-19 00:35:23 +02:00
parent 58b818126f
commit 9ff7540d7a

View File

@@ -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);