Skip to content

Commit

Permalink
1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lopadova committed Aug 28, 2016
1 parent 9458f49 commit 5fdf8fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/RequestHelper.php
Expand Up @@ -53,6 +53,7 @@ public static function isValidCurrentRequestUploadFile(string $uploadField, arra
public static function isValidUploadFile(string $uploadField, array $arrMimeType = array(), Request $request) : bool
{
$uploadedFile = self::getFileSafe($uploadField, $request);

if (!is_a($uploadedFile, '\Illuminate\Http\UploadedFile')) {
return false;
}
Expand Down

0 comments on commit 5fdf8fe

Please sign in to comment.