Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
niksamokhvalov committed Apr 1, 2016
1 parent cf9e8ed commit 090ce7c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/ExceptionHandlerLog.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ public function write(\Exception $exception, $logType)

$context = is_callable($this->context) ? call_user_func($this->context, $exception) : null;

if($context === null) {
if ($context === null)
{
$context = array(
'file' => $exception->getFile(),
'line' => $exception->getLine(),
Expand All @@ -131,4 +132,4 @@ public function write(\Exception $exception, $logType)

$this->logger->emergency($exception->getMessage(), $context);
}
}
}

0 comments on commit 090ce7c

Please sign in to comment.