Skip to content

Commit

Permalink
change one type check.
Browse files Browse the repository at this point in the history
  • Loading branch information
lopadova committed Aug 29, 2016
1 parent 5fdf8fe commit d6cfab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RequestHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public static function isValidUploadFile(string $uploadField, array $arrMimeType
{
$uploadedFile = self::getFileSafe($uploadField, $request);

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

Expand Down

0 comments on commit d6cfab5

Please sign in to comment.