@@ -1,6 +1,6 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |