@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | $user_lang = $this->user->data['user_lang']; |
157 | 157 | $mapping = include($this->phpbb_root_path . 'ext/blitze/sitemaker/services/blocks/lang_mapping.' . $this->php_ext); |
158 | 158 | |
159 | - return $mapping[$user_lang] ?: preg_replace_callback('/_([a-z0-9]+)/i', function($parts) { |
|
159 | + return $mapping[$user_lang] ?: preg_replace_callback('/_([a-z0-9]+)/i', function ($parts) { |
|
160 | 160 | return strtoupper($parts[0]); |
161 | 161 | }, $user_lang); |
162 | 162 | } |
@@ -218,7 +218,7 @@ discard block |
||
218 | 218 | list($controller_service, $controller_method) = explode(':', $controller); |
219 | 219 | $controller_params = $symfony_request->attributes->get('_route_params'); |
220 | 220 | $controller_object = $this->phpbb_container->get($controller_service); |
221 | - $controller_class = get_class($controller_object); |
|
221 | + $controller_class = get_class($controller_object); |
|
222 | 222 | |
223 | 223 | $r = new \ReflectionMethod($controller_class, $controller_method); |
224 | 224 | $class_params = $r->getParameters(); |