@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | return $this; |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | - $iter = $this->recursive ? $this->getRecursive($path) : $this->getFlat($path) ; |
|
| 43 | + $iter = $this->recursive ? $this->getRecursive($path) : $this->getFlat($path); |
|
| 44 | 44 | $iter = new CallbackFilterIterator($iter, [$this, 'filterDoubleDot']); |
| 45 | 45 | if ($this->filterCallback) { |
| 46 | 46 | $iter = new CallbackFilterIterator($iter, $this->filterCallback); |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | |
| 90 | 90 | public function filterDoubleDot(SplFileInfo $info): bool |
| 91 | 91 | { |
| 92 | - return ( ITree::PARENT_DIR != $info->getFilename() ) ; |
|
| 92 | + return (ITree::PARENT_DIR != $info->getFilename()); |
|
| 93 | 93 | } |
| 94 | 94 | |
| 95 | 95 | /** |
@@ -83,6 +83,6 @@ |
||
| 83 | 83 | */ |
| 84 | 84 | protected function getLib(): Volume |
| 85 | 85 | { |
| 86 | - return new Volume(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR. 'data' . DIRECTORY_SEPARATOR . 'tree'); |
|
| 86 | + return new Volume(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'data' . DIRECTORY_SEPARATOR . 'tree'); |
|
| 87 | 87 | } |
| 88 | 88 | } |