Completed
Pull Request — master (#12)
by Tyler
07:15
created
src/Components/Notifier.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,8 +5,8 @@
 block discarded – undo
5 5
 use Exception;
6 6
 use Monolog\Handler\HandlerInterface;
7 7
 use Monolog\Logger;
8
-use Tylercd100\LERN\Factories\MonologHandlerFactory;
9 8
 use Tylercd100\LERN\Exceptions\NotifierFailedException;
9
+use Tylercd100\LERN\Factories\MonologHandlerFactory;
10 10
 
11 11
 class Notifier extends Component {
12 12
     protected $config;
Please login to merge, or discard this patch.
src/Components/Recorder.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,8 +86,9 @@
 block discarded – undo
86 86
             case 'data':
87 87
                 return $this->getData();
88 88
             case 'status_code':
89
-                if($e===null)
90
-                    return 0;
89
+                if($e===null) {
90
+                                    return 0;
91
+                }
91 92
                 return $this->getStatusCode($e);
92 93
             default:
93 94
                 throw new Exception("{$key} is not supported! Therefore it cannot be collected!");
Please login to merge, or discard this patch.