Completed
Push — dev-tylercd100-laravel-notify-... ( 12b986...028084 )
by Tyler
11:07 queued 43s
created
src/Components/Recorder.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
             case 'data':
88 88
                 return $this->getData();
89 89
             case 'status_code':
90
-                if($e===null) {
90
+                if ($e === null) {
91 91
                                     return 0;
92 92
                 }
93 93
                 return $this->getStatusCode($e);
@@ -167,12 +167,12 @@  discard block
 block discarded – undo
167 167
      * @param  array $data The array to remove keys from
168 168
      * @return void
169 169
      */
170
-    protected function excludeKeys(array $data){
170
+    protected function excludeKeys(array $data) {
171 171
         $keys = isset($this->config['excludeKeys']) ? $this->config['excludeKeys'] : [];
172 172
         foreach ($data as $key => &$value) {
173
-            if(in_array($key,$keys)){
173
+            if (in_array($key, $keys)) {
174 174
                 unset($data[$key]);
175
-            } else if(is_array($value)){
175
+            } else if (is_array($value)) {
176 176
                 $value = $this->excludeKeys($value);
177 177
             }
178 178
         }
Please login to merge, or discard this patch.
src/Components/Notifier.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Monolog\Handler\HandlerInterface;
7 7
 use Monolog\Logger;
8 8
 use Tylercd100\LERN\Exceptions\NotifierFailedException;
9
-use Tylercd100\LERN\Factories\MonologHandlerFactory;
10 9
 use Tylercd100\Notify\Drivers\FromConfig as Notify;
11 10
 
12 11
 class Notifier extends Component {
Please login to merge, or discard this patch.