File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -73,11 +73,6 @@ public function boot()
7373 if ($ trustedHosts = $ this ->container ->getParameter ('kernel.trusted_hosts ' )) {
7474 Request::setTrustedHosts ($ trustedHosts );
7575 }
76-
77- if ($ this ->container ->has ('mime_types ' )) {
78- $ mt = $ this ->container ->get ('mime_types ' );
79- $ mt ->setDefault ($ mt );
80- }
8176 }
8277
8378 public function build (ContainerBuilder $ container )
Original file line number Diff line number Diff line change 77 <services >
88 <defaults public =" false" />
99
10- <service id =" mime_types" class =" Symfony\Component\Mime\MimeTypes" public =" true" />
10+ <service id =" mime_types" class =" Symfony\Component\Mime\MimeTypes" >
11+ <call method =" setDefault" >
12+ <argument type =" service" id =" mime_types" />
13+ </call >
14+ </service >
1115 </services >
1216</container >
You can’t perform that action at this time.
0 commit comments