Skip to content

Commit 2ec7fa8

Browse files
committed
fix(log): Fix call to normalize function
Signed-off-by: Joas Schilling <[email protected]>
1 parent 44b4b40 commit 2ec7fa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/Log.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public function log(int $level, string $message, array $context = []): void {
158158
return; // no crash reporter, no listeners, we can stop for lower log level
159159
}
160160

161-
array_walk($context, [$this->normalizer, 'format']);
161+
$context = array_map($this->normalizer->format(...), $context);
162162

163163
$app = $context['app'] ?? 'no app in context';
164164
$entry = $this->interpolateMessage($context, $message);

0 commit comments

Comments
 (0)