Skip to content

Commit 8f64066

Browse files
author
Fredrick Peter
committed
File Method Error Fix
1 parent 4cd8abe commit 8f64066

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Methods/FileMethod.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ static public function has($name)
7878
*
7979
* @param mixed $uploads
8080
* @param bool $first
81-
* @return array
81+
* @return array|null
8282
*/
8383
static protected function getUploads($uploads, $first = false)
8484
{
@@ -103,8 +103,6 @@ static protected function getUploads($uploads, $first = false)
103103

104104
return $files;
105105
}
106-
107-
return [];
108106
}
109107

110108
/**

0 commit comments

Comments
 (0)