Completed
Pull Request — master (#16)
by Sergey
03:53
created
src/Helper/JsonHelper.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,9 @@
 block discarded – undo
118 118
         if (is_object($data)) {
119 119
             $object = new \stdClass();
120 120
             foreach (get_object_vars($data) as $key => $value) {
121
-                if (in_array($key, $excludedKeys)) continue;
121
+                if (in_array($key, $excludedKeys)) {
122
+                    continue;
123
+                }
122 124
                 $object->$key = $this->excludeKeys($value, $excludedKeys);
123 125
             }
124 126
 
Please login to merge, or discard this patch.