From e0b68073d7015c43f89eed6d29f5605256d46dcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=93=AD=E6=98=95?= <715557344@qq.com> Date: Thu, 28 Nov 2024 09:51:55 +0800 Subject: [PATCH] Format code (#7177) --- src/Filesystem/Filesystem.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Filesystem/Filesystem.php b/src/Filesystem/Filesystem.php index dcb7994..46c4e34 100644 --- a/src/Filesystem/Filesystem.php +++ b/src/Filesystem/Filesystem.php @@ -18,6 +18,7 @@ use Hyperf\Coroutine\Locker; use Hyperf\Macroable\Macroable; use Symfony\Component\Finder\Finder; +use Symfony\Component\Finder\SplFileInfo; /** * Most of the methods in this file come from illuminate/filesystem, @@ -360,7 +361,7 @@ public function glob(string $pattern, int $flags = 0): array /** * Get an array of all files in a directory. * - * @return \Symfony\Component\Finder\SplFileInfo[] + * @return SplFileInfo[] */ public function files(string $directory, bool $hidden = false): array { @@ -372,7 +373,7 @@ public function files(string $directory, bool $hidden = false): array /** * Get all of the files from the given directory (recursive). - * @return \Symfony\Component\Finder\SplFileInfo[] + * @return SplFileInfo[] */ public function allFiles(string $directory, bool $hidden = false): array {