Skip to content

Commit

Permalink
Pass the translator to the FileType when registering the extension
Browse files Browse the repository at this point in the history
  • Loading branch information
stof committed Apr 7, 2019
1 parent f4fc2e3 commit 42111f0
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -69,7 +69,7 @@ protected function loadTypes()
new Type\TimeType(),
new Type\TimezoneType(),
new Type\UrlType(),
new Type\FileType(),
new Type\FileType($this->translator),
new Type\ButtonType(),
new Type\SubmitType(),
new Type\ResetType(),
Expand Down

0 comments on commit 42111f0

Please sign in to comment.