Completed
Branch master (828488)
by Tyler
05:18
created
src/Notifications/MonologHandlerFactory.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,9 @@
 block discarded – undo
18 18
     public function create($driver,$subject = null)
19 19
     {
20 20
         $this->config = config('lern.notify.'.$driver);
21
-        if(is_array($this->config))
22
-            return $this->{$driver}($subject);
21
+        if(is_array($this->config)) {
22
+                    return $this->{$driver}($subject);
23
+        }
23 24
     }
24 25
 
25 26
     /**
Please login to merge, or discard this patch.
src/LERN.php 1 patch
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,8 +21,9 @@  discard block
 block discarded – undo
21 21
      */
22 22
     public function __construct(Notifier $notifier = null)
23 23
     {
24
-        if(empty($notifier))
25
-            $notifier = new Notifier();
24
+        if(empty($notifier)) {
25
+                    $notifier = new Notifier();
26
+        }
26 27
         $this->notifier = $notifier;
27 28
     }
28 29
 
@@ -55,8 +56,9 @@  discard block
 block discarded – undo
55 56
             'trace'       => $e->getTraceAsString(),
56 57
         ];
57 58
 
58
-        if($e instanceof HttpExceptionInterface)
59
-            $opts['status_code'] = $e->getStatusCode();
59
+        if($e instanceof HttpExceptionInterface) {
60
+                    $opts['status_code'] = $e->getStatusCode();
61
+        }
60 62
 
61 63
         return ExceptionModel::create($opts);
62 64
     }
Please login to merge, or discard this patch.