File tree 4 files changed +13
-13
lines changed
4 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 8
8
use League \Flysystem \Util \ContentListingFormatter ;
9
9
10
10
/**
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)
18
18
*/
19
19
class Filesystem implements FilesystemInterface
20
20
{
Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ public function getMethod()
20
20
/**
21
21
* Get metadata for an object with required metadata.
22
22
*
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
25
25
*
26
26
* @throws InvalidArgumentException
27
27
* @throws FileNotFoundException
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ public function getMethod()
20
20
* @param string $directory
21
21
* @param bool $recursive
22
22
*
23
- * @return array paths
23
+ * @return string[] paths
24
24
*/
25
25
public function handle ($ directory = '' , $ recursive = false )
26
26
{
Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ public function getMethod()
17
17
/**
18
18
* List contents with metadata.
19
19
*
20
- * @param array $keys
21
- * @param string $directory
22
- * @param bool $recursive
20
+ * @param string[] $keys
21
+ * @param string $directory
22
+ * @param bool $recursive
23
23
*
24
24
* @return array listing with metadata
25
25
*/
You can’t perform that action at this time.
0 commit comments