From 090ce7cf4585d58fe2ce7bc773554c4450da177a Mon Sep 17 00:00:00 2001 From: Nik Samokhvalov Date: Fri, 1 Apr 2016 17:18:23 +0300 Subject: [PATCH] code style --- src/ExceptionHandlerLog.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ExceptionHandlerLog.php b/src/ExceptionHandlerLog.php index 8a21050..2d75b99 100644 --- a/src/ExceptionHandlerLog.php +++ b/src/ExceptionHandlerLog.php @@ -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(), @@ -131,4 +132,4 @@ public function write(\Exception $exception, $logType) $this->logger->emergency($exception->getMessage(), $context); } -} \ No newline at end of file +}