Skip to content

Commit

Permalink
Merge pull request #307 from Marcuzz/master
Browse files Browse the repository at this point in the history
[Laravel 5.6] Symfony no longer accepts a string as an error
  • Loading branch information
Anton Komarev committed Feb 26, 2018
2 parents 3709e3a + 1151af2 commit 735299c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Javascript/MessageParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,6 @@ private function fakeFileData($data, $attribute)
*/
protected function createUploadedFile()
{
return new UploadedFile('fakefile', 'fakefile', null, null, 'fakefile', true);
return new UploadedFile('fakefile', 'fakefile', null, null, UPLOAD_ERR_NO_FILE, true);
}
}

0 comments on commit 735299c

Please sign in to comment.