Completed
Push — master ( f9aa26...9d3d3a )
by Tyler
06:40
created
src/Factories/MonologHandlerFactory.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 namespace Tylercd100\LERN\Notifications;
4 4
 
5 5
 use Exception;
6
-use Monolog\Logger;
7 6
 use Monolog\Handler\HandlerInterface;
7
+use Monolog\Logger;
8 8
 use Tylercd100\LERN\Notifications\MonologHandlerFactory;
9 9
 
10 10
 class Notifier {
Please login to merge, or discard this patch.
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.