@@ -61,35 +61,35 @@ |
||
| 61 | 61 | * @return FileDescriptor |
| 62 | 62 | * @internal |
| 63 | 63 | */ |
| 64 | - public function current () { |
|
| 64 | + public function current() { |
|
| 65 | 65 | return FileDescriptor::fromFileInfo($this->getIterator()->current()); |
| 66 | 66 | } |
| 67 | 67 | |
| 68 | 68 | /** |
| 69 | 69 | * @internal |
| 70 | 70 | */ |
| 71 | - public function key () { |
|
| 71 | + public function key() { |
|
| 72 | 72 | return $this->getIterator()->key(); |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | 75 | /** |
| 76 | 76 | * @internal |
| 77 | 77 | */ |
| 78 | - public function next () { |
|
| 78 | + public function next() { |
|
| 79 | 79 | return $this->getIterator()->next(); |
| 80 | 80 | } |
| 81 | 81 | |
| 82 | 82 | /** |
| 83 | 83 | * @internal |
| 84 | 84 | */ |
| 85 | - public function rewind () { |
|
| 85 | + public function rewind() { |
|
| 86 | 86 | return $this->getIterator()->rewind(); |
| 87 | 87 | } |
| 88 | 88 | |
| 89 | 89 | /** |
| 90 | 90 | * @internal |
| 91 | 91 | */ |
| 92 | - public function valid () { |
|
| 92 | + public function valid() { |
|
| 93 | 93 | return $this->getIterator()->valid(); |
| 94 | 94 | } |
| 95 | 95 | |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | protected function init($pathname) { |
| 23 | - $this->pathname = ''.$pathname; // "cast" to string |
|
| 23 | + $this->pathname = '' . $pathname; // "cast" to string |
|
| 24 | 24 | } |
| 25 | 25 | |
| 26 | 26 | /** |