Skip to content
Snippets Groups Projects
Commit 4705ffb1 authored by Demian Katz's avatar Demian Katz
Browse files

Style fix.

parent dc9c753d
No related merge requests found
...@@ -268,13 +268,15 @@ class Logger extends BaseLogger implements ServiceLocatorAwareInterface ...@@ -268,13 +268,15 @@ class Logger extends BaseLogger implements ServiceLocatorAwareInterface
if (is_array($message)) { if (is_array($message)) {
$timestamp = new \DateTime(); $timestamp = new \DateTime();
foreach ($this->writers->toArray() as $writer) { foreach ($this->writers->toArray() as $writer) {
$writer->write(array( $writer->write(
'timestamp' => $timestamp, array(
'priority' => (int) $priority, 'timestamp' => $timestamp,
'priorityName' => $this->priorities[$priority], 'priority' => (int) $priority,
'message' => $message, 'priorityName' => $this->priorities[$priority],
'extra' => $extra 'message' => $message,
)); 'extra' => $extra
)
);
} }
return $this; return $this;
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment