Completed
Push — dev ( 4b701d...397072 )
by James Ekow Abaka
03:37
created
src/filesystem/Directory.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
src/filesystem/FileCollection.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@
 block discarded – undo
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])) {
Please login to merge, or discard this patch.