@@ -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 | /** |