@@ -174,7 +174,7 @@ |
||
174 | 174 | */ |
175 | 175 | protected function injectDispatcherParameters($eventContext, &$parameters) |
176 | 176 | { |
177 | - if(array_intersect_key($parameters, array_flip(['eventName', 'eventContext', 'eventDispatcher']))) { |
|
177 | + if (array_intersect_key($parameters, array_flip(['eventName', 'eventContext', 'eventDispatcher']))) { |
|
178 | 178 | throw new OverriddenParameter('Following parameters cannot be passed in parameters array: eventName, eventContext, eventDispatcher.'); |
179 | 179 | } |
180 | 180 |