@@ -317,7 +317,7 @@ discard block |
||
317 | 317 | * @Template() |
318 | 318 | * |
319 | 319 | * @param User $user |
320 | - * @return array |
|
320 | + * @return \Symfony\Component\HttpFoundation\RedirectResponse |
|
321 | 321 | */ |
322 | 322 | public function blockAction(User $user) |
323 | 323 | { |
@@ -332,7 +332,7 @@ discard block |
||
332 | 332 | * @Template() |
333 | 333 | * |
334 | 334 | * @param User $user |
335 | - * @return array |
|
335 | + * @return \Symfony\Component\HttpFoundation\RedirectResponse |
|
336 | 336 | */ |
337 | 337 | public function unblockAction(User $user) |
338 | 338 | { |
@@ -256,7 +256,7 @@ discard block |
||
256 | 256 | |
257 | 257 | if (!in_array($action, $allowedActions)) { |
258 | 258 | throw new \InvalidArgumentException( |
259 | - 'Invalid action, possible values are: ' . implode(', ', $allowedActions) |
|
259 | + 'Invalid action, possible values are: '.implode(', ', $allowedActions) |
|
260 | 260 | ); |
261 | 261 | } |
262 | 262 | |
@@ -292,7 +292,7 @@ discard block |
||
292 | 292 | 'icon' => $icon, |
293 | 293 | 'label' => ucfirst($this->get('translator')->trans($label)), |
294 | 294 | 'attr' => array( |
295 | - 'class' => 'confirm ' . $class, |
|
295 | + 'class' => 'confirm '.$class, |
|
296 | 296 | 'data-message' => $this->get('translator')->trans( |
297 | 297 | $message, |
298 | 298 | array( |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | */ |
22 | 22 | public function load(array $configs, ContainerBuilder $container) |
23 | 23 | { |
24 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
24 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
25 | 25 | $loader->load('services.yml'); |
26 | 26 | } |
27 | 27 | |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | public function prepend(ContainerBuilder $container) |
32 | 32 | { |
33 | 33 | $yamlParser = new Parser(); |
34 | - $config = $yamlParser->parse(file_get_contents(__DIR__ . '/../Resources/config/config.yml')); |
|
34 | + $config = $yamlParser->parse(file_get_contents(__DIR__.'/../Resources/config/config.yml')); |
|
35 | 35 | $container->prependExtensionConfig('fos_user', $config['fos_user']); |
36 | 36 | } |
37 | 37 | } |