Skip to content

Commit

Permalink
Fix isFileUpload
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyvw committed Dec 20, 2021
1 parent 98b1760 commit 8dcf541
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public function handleRequest(FormInterface $form, $request = null)
$form->submit($data, 'PATCH' !== $method);
}

public function isFileUpload($data)
public function isFileUpload($data): bool
{
return $data instanceof File;
}
Expand Down

0 comments on commit 8dcf541

Please sign in to comment.