Completed
Push — master ( 34b4d4...b0bc1b )
by Viacheslav
02:21
created
src/JsonDiff.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
 
176 176
         foreach ($originalKeys as $key => $originalValue) {
177 177
             $path = $this->path;
178
-            $this->path .= '/' . urlencode($key);
178
+            $this->path .= '/'.urlencode($key);
179 179
 
180 180
             if (array_key_exists($key, $newArray)) {
181 181
                 $newOrdered[$key] = $this->process($originalValue, $newArray[$key]);
@@ -191,13 +191,13 @@  discard block
 block discarded – undo
191 191
         // additions
192 192
         foreach ($newArray as $key => $value) {
193 193
             $newOrdered[$key] = $value;
194
-            $path = $this->path . '/' . urlencode($key);
194
+            $path = $this->path.'/'.urlencode($key);
195 195
             JsonProcessor::pushByPath($this->added, $path, $value);
196 196
             $this->addedCnt++;
197 197
             $this->addedPaths [] = $path;
198 198
         }
199 199
 
200
-        return is_array($new) ? $newOrdered : (object)$newOrdered;
200
+        return is_array($new) ? $newOrdered : (object) $newOrdered;
201 201
     }
202 202
 
203 203
     private function rearrangeArray(array $original, array $new)
Please login to merge, or discard this patch.