Passed
Push — master ( 16d5db...b99896 )
by Pol
02:19
created
src/Node/Directory.php 1 patch
Spacing   +5 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace drupol\phpvfs\Node;
6 6
 
@@ -32,8 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
         /** @var \drupol\phpvfs\Node\DirectoryInterface $cwd */
34 34
         $cwd = $path->isAbsolute() ?
35
-            $this->root() :
36
-            $this;
35
+            $this->root() : $this;
37 36
 
38 37
         foreach ($path->getIterator() as $pathPart) {
39 38
             $cwd = $cwd->containsAttributeId($pathPart);
@@ -111,8 +110,7 @@  discard block
 block discarded – undo
111 110
 
112 111
             /** @var \drupol\phpvfs\Node\DirectoryInterface $cwd */
113 112
             $cwd = $path->isAbsolute() ?
114
-                $this->root() :
115
-                $this;
113
+                $this->root() : $this;
116 114
 
117 115
             foreach ($path->getIterator() as $pathPart) {
118 116
                 $pathPartExist = false;
@@ -150,8 +148,7 @@  discard block
 block discarded – undo
150 148
 
151 149
         /** @var \drupol\phpvfs\Node\DirectoryInterface $cwd */
152 150
         $child = $path->isAbsolute() ?
153
-            $this->root() :
154
-            $this;
151
+            $this->root() : $this;
155 152
 
156 153
         foreach ($path->getIterator() as $pathPart) {
157 154
             $child = $child->containsAttributeId($pathPart);
@@ -195,8 +192,7 @@  discard block
 block discarded – undo
195 192
 
196 193
         /** @var \drupol\phpvfs\Node\DirectoryInterface $cwd */
197 194
         $cwd = $path->isAbsolute() ?
198
-            $this->root() :
199
-            $this;
195
+            $this->root() : $this;
200 196
 
201 197
         $last = $path->getLastPart();
202 198
 
Please login to merge, or discard this patch.