Passed
Pull Request — master (#1200)
by Rene
03:53 queued 45s
created
src/DeserializationContext.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -57,9 +57,9 @@
 block discarded – undo
57 57
     {
58 58
         $path = implode('.', $this->getCurrentPath());
59 59
         if (isset($this->persistentCollections[$path])) {
60
-           $return = $this->persistentCollections[$path];
61
-           unset($this->persistentCollections[$path]);
62
-           return $return;
60
+            $return = $this->persistentCollections[$path];
61
+            unset($this->persistentCollections[$path]);
62
+            return $return;
63 63
         }
64 64
         return null;
65 65
     }
Please login to merge, or discard this patch.
src/Handler/ArrayCollectionHandler.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -102,9 +102,9 @@
 block discarded – undo
102 102
 
103 103
         if ($collection = $context->removePersistentCollectionForCurrentPath()) {
104 104
             foreach ($elements as $element) {
105
-               if (!$collection->contains($element)) {
106
-                   $collection->add($element);
107
-               }
105
+                if (!$collection->contains($element)) {
106
+                    $collection->add($element);
107
+                }
108 108
             }
109 109
             foreach ($collection as $collectionElement) {
110 110
                 if (!$elements->contains($collectionElement)) {
Please login to merge, or discard this patch.