@@ -169,7 +169,7 @@ |
||
169 | 169 | * @throws FilesystemException |
170 | 170 | * @throws \ntentan\utils\exceptions\FileNotFoundException |
171 | 171 | * @throws \ntentan\utils\exceptions\FileNotReadableException |
172 | - * @return array<FileInterface> |
|
172 | + * @return FileCollection |
|
173 | 173 | */ |
174 | 174 | public function getFiles() : FileCollection |
175 | 175 | { |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace ntentan\utils\filesystem; |
4 | 4 | |
5 | -use ntentan\utils\exceptions\FileNotFoundException; |
|
6 | 5 | use ntentan\utils\Filesystem; |
6 | +use ntentan\utils\exceptions\FileNotFoundException; |
|
7 | 7 | use ntentan\utils\exceptions\FilesystemException; |
8 | 8 | |
9 | 9 | /** |
@@ -18,6 +18,9 @@ |
||
18 | 18 | $this->iteratorIndex = 0; |
19 | 19 | } |
20 | 20 | |
21 | + /** |
|
22 | + * @param integer $index |
|
23 | + */ |
|
21 | 24 | private function getInstance($index) |
22 | 25 | { |
23 | 26 | if(!isset($this->instances[$index])) { |