File tree Expand file tree Collapse file tree 4 files changed +13
-13
lines changed Expand file tree Collapse file tree 4 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 88use League \Flysystem \Util \ContentListingFormatter ;
99
1010/**
11- * @method void emptyDir(string $dirname)
12- * @method array getWithMetadata(string $path, array $metadata)
13- * @method bool forceCopy(string $path, string $newpath)
14- * @method bool forceRename(string $path, string $newpath)
15- * @method array listFiles(string $path = '', boolean $recursive = false)
16- * @method array listPaths(string $path = '', boolean $recursive = false)
17- * @method array listWith(array $keys = [], $directory = '', $recursive = false)
11+ * @method void emptyDir(string $dirname)
12+ * @method array|false getWithMetadata(string $path, string[] $metadata)
13+ * @method bool forceCopy(string $path, string $newpath)
14+ * @method bool forceRename(string $path, string $newpath)
15+ * @method array listFiles(string $path = '', boolean $recursive = false)
16+ * @method string[] listPaths(string $path = '', boolean $recursive = false)
17+ * @method array listWith(string[] $keys = [], $directory = '', $recursive = false)
1818 */
1919class Filesystem implements FilesystemInterface
2020{
Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ public function getMethod()
2020 /**
2121 * Get metadata for an object with required metadata.
2222 *
23- * @param string $path path to file
24- * @param array $metadata metadata keys
23+ * @param string $path path to file
24+ * @param string[] $metadata metadata keys
2525 *
2626 * @throws InvalidArgumentException
2727 * @throws FileNotFoundException
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ public function getMethod()
2020 * @param string $directory
2121 * @param bool $recursive
2222 *
23- * @return array paths
23+ * @return string[] paths
2424 */
2525 public function handle ($ directory = '' , $ recursive = false )
2626 {
Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ public function getMethod()
1717 /**
1818 * List contents with metadata.
1919 *
20- * @param array $keys
21- * @param string $directory
22- * @param bool $recursive
20+ * @param string[] $keys
21+ * @param string $directory
22+ * @param bool $recursive
2323 *
2424 * @return array listing with metadata
2525 */
You can’t perform that action at this time.
0 commit comments