Completed
Branch master (349fa9)
by Mèir
06:39
created
src/Filesystem.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
     /**
93 93
      * @param string $path
94 94
      * @param bool $recursive
95
-     * @return \Iterator|Folder[]|File[]
95
+     * @return \Generator
96 96
      */
97 97
     public function listDirContents(string $path, bool $recursive = false): \Iterator
98 98
     {
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
     /**
111 111
      * @param string $path
112 112
      * @param bool $recursive
113
-     * @return \Iterator|Folder[]
113
+     * @return \Generator
114 114
      */
115 115
     public function listDirs(string $path, bool $recursive = false): \Iterator
116 116
     {
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
     /**
127 127
      * @param string $path
128 128
      * @param bool $recursive
129
-     * @return \Iterator|File[]
129
+     * @return \Generator
130 130
      */
131 131
     public function listFiles(string $path, bool $recursive = false): \Iterator
132 132
     {
Please login to merge, or discard this patch.
src/Object/File.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -175,7 +175,7 @@
 block discarded – undo
175 175
     }
176 176
 
177 177
     /**
178
-     * @return false|resource
178
+     * @return resource
179 179
      */
180 180
     public function getStream()
181 181
     {
Please login to merge, or discard this patch.