Completed
Pull Request — master (#24)
by Tyler
05:54 queued 03:40
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.