File tree 1 file changed +1
-11
lines changed
src/Symfony/Component/HttpKernel/EventListener 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ public function onKernelRequest(GetResponseEvent $event)
128
128
}
129
129
130
130
if (null !== $ this ->logger ) {
131
- $ this ->logger ->info (sprintf ('Matched route "%s" (parameters: %s) ' , $ parameters ['_route ' ], $ this -> parametersToString ( $ parameters)) );
131
+ $ this ->logger ->info (sprintf ('Matched route "%s" ' , $ parameters ['_route ' ]) , $ parameters );
132
132
}
133
133
134
134
$ request ->attributes ->add ($ parameters );
@@ -150,16 +150,6 @@ public function onKernelRequest(GetResponseEvent $event)
150
150
}
151
151
}
152
152
153
- private function parametersToString (array $ parameters )
154
- {
155
- $ pieces = array ();
156
- foreach ($ parameters as $ key => $ val ) {
157
- $ pieces [] = sprintf ('"%s": "%s" ' , $ key , (is_string ($ val ) ? $ val : json_encode ($ val )));
158
- }
159
-
160
- return implode (', ' , $ pieces );
161
- }
162
-
163
153
public static function getSubscribedEvents ()
164
154
{
165
155
return array (
You can’t perform that action at this time.
0 commit comments