@@ -94,7 +94,7 @@ public function is_file($path);
9494 * only the following keys are required in the result: size and mtime
9595 *
9696 * @param string $path
97- * @return array|bool
97+ * @return array|false
9898 * @since 9.0.0
9999 */
100100 public function stat ($ path );
@@ -103,7 +103,7 @@ public function stat($path);
103103 * see https://www.php.net/manual/en/function.filetype.php
104104 *
105105 * @param string $path
106- * @return string|bool
106+ * @return string|false
107107 * @since 9.0.0
108108 */
109109 public function filetype ($ path );
@@ -186,7 +186,7 @@ public function file_exists($path);
186186 * see https://www.php.net/manual/en/function.filemtime.php
187187 *
188188 * @param string $path
189- * @return int|bool
189+ * @return int|false
190190 * @since 9.0.0
191191 */
192192 public function filemtime ($ path );
@@ -244,7 +244,7 @@ public function copy($source, $target);
244244 *
245245 * @param string $path
246246 * @param string $mode
247- * @return resource|bool
247+ * @return resource|false
248248 * @since 9.0.0
249249 */
250250 public function fopen ($ path , $ mode );
@@ -254,7 +254,7 @@ public function fopen($path, $mode);
254254 * The mimetype for a folder is required to be "httpd/unix-directory"
255255 *
256256 * @param string $path
257- * @return string|bool
257+ * @return string|false
258258 * @since 9.0.0
259259 */
260260 public function getMimeType ($ path );
@@ -265,16 +265,16 @@ public function getMimeType($path);
265265 * @param string $type
266266 * @param string $path
267267 * @param bool $raw
268- * @return string|bool
268+ * @return string|false
269269 * @since 9.0.0
270270 */
271271 public function hash ($ type , $ path , $ raw = false );
272272
273273 /**
274- * see https://www.php.net/manual/en/function.free_space .php
274+ * see https://www.php.net/manual/en/function.disk-free-space .php
275275 *
276276 * @param string $path
277- * @return int|float|bool
277+ * @return int|float|false
278278 * @since 9.0.0
279279 */
280280 public function free_space ($ path );
@@ -352,7 +352,7 @@ public function instanceOfStorage($class);
352352 * For now the returned array can hold the parameter url - in future more attributes might follow.
353353 *
354354 * @param string $path
355- * @return array|bool
355+ * @return array|false
356356 * @since 9.0.0
357357 */
358358 public function getDirectDownload ($ path );
0 commit comments