Completed
Push — master ( 65570c...bf6ec7 )
by Arne
03:29 queued 12s
created
src/Index/Diff/IndexObjectDifference.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -35,12 +35,10 @@
 block discarded – undo
35 35
         if ($indexObjectA instanceof IndexObject)
36 36
         {
37 37
             $this->relativePath = $indexObjectA->getRelativePath();
38
-        }
39
-        elseif ($indexObjectB instanceof IndexObject)
38
+        } elseif ($indexObjectB instanceof IndexObject)
40 39
         {
41 40
             $this->relativePath = $indexObjectB->getRelativePath();
42
-        }
43
-        else
41
+        } else
44 42
         {
45 43
             throw new \LogicException();
46 44
         }
Please login to merge, or discard this patch.
src/Index/Index.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,7 @@
 block discarded – undo
41 41
             if ($parentNode === null)
42 42
             {
43 43
                 throw new Exception("Trying to add object {$indexObject->getRelativePath()} without existing parent node");
44
-            }
45
-            elseif (!$parentNode->getIndexObject()->isDirectory())
44
+            } elseif (!$parentNode->getIndexObject()->isDirectory())
46 45
             {
47 46
                 throw new Exception("Trying to add object {$indexObject->getRelativePath()} under parent node which is not a directory");
48 47
             }
Please login to merge, or discard this patch.