File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Illuminate/Filesystem Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -582,7 +582,7 @@ public function glob($pattern, $flags = 0)
582582 * @param bool $hidden
583583 * @return \Symfony\Component\Finder\SplFileInfo[]
584584 */
585- public function files ($ directory , $ hidden = false , string |int | array $ depth = 0 )
585+ public function files ($ directory , $ hidden = false , array | string |int $ depth = 0 )
586586 {
587587 return iterator_to_array (
588588 Finder::create ()->files ()->ignoreDotFiles (! $ hidden )->in ($ directory )->depth ($ depth )->sortByName (),
@@ -608,7 +608,7 @@ public function allFiles($directory, $hidden = false)
608608 * @param string $directory
609609 * @return array
610610 */
611- public function directories ($ directory , string |int | array $ depth = 0 )
611+ public function directories ($ directory , array | string |int $ depth = 0 )
612612 {
613613 $ directories = [];
614614
You can’t perform that action at this time.
0 commit comments