@@ -30,7 +30,7 @@ |
||
| 30 | 30 | */ |
| 31 | 31 | public function getRoles() |
| 32 | 32 | { |
| 33 | - return [ 'ROLE_USER' ]; |
|
| 33 | + return ['ROLE_USER']; |
|
| 34 | 34 | } |
| 35 | 35 | |
| 36 | 36 | /** |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | */ |
| 20 | 20 | public function load(array $configs, ContainerBuilder $container) |
| 21 | 21 | { |
| 22 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 22 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 23 | 23 | $loader->load('services.yml'); |
| 24 | 24 | } |
| 25 | 25 | } |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | ]) |
| 21 | 21 | ->useAttributeAsKey('class') |
| 22 | 22 | ->prototype('array') |
| 23 | - ->beforeNormalization()->ifString()->then(function ($v) { |
|
| 23 | + ->beforeNormalization()->ifString()->then(function($v) { |
|
| 24 | 24 | return ['route' => $v]; |
| 25 | 25 | })->end() |
| 26 | 26 | ->children() |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | $handler = new DeleteUserHandler($repository); |
| 86 | 86 | $handler->handle($command); |
| 87 | 87 | |
| 88 | - $output->writeln($username . ' has been deleted'); |
|
| 88 | + $output->writeln($username.' has been deleted'); |
|
| 89 | 89 | } |
| 90 | 90 | |
| 91 | 91 | /** |
@@ -100,7 +100,7 @@ discard block |
||
| 100 | 100 | } |
| 101 | 101 | |
| 102 | 102 | return array_map( |
| 103 | - function (UserRepository $repository) { |
|
| 103 | + function(UserRepository $repository) { |
|
| 104 | 104 | return $repository->getSupportedClass(); |
| 105 | 105 | }, |
| 106 | 106 | $this->userRepositoryCollection->all() |
@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | |
| 91 | 91 | $handler->handle($command); |
| 92 | 92 | |
| 93 | - $output->writeln($username . ' has been created'); |
|
| 93 | + $output->writeln($username.' has been created'); |
|
| 94 | 94 | } |
| 95 | 95 | |
| 96 | 96 | /** |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | } |
| 106 | 106 | |
| 107 | 107 | return array_map( |
| 108 | - function (UserRepository $repository) { |
|
| 108 | + function(UserRepository $repository) { |
|
| 109 | 109 | return $repository->getSupportedClass(); |
| 110 | 110 | }, |
| 111 | 111 | $this->userRepositoryCollection->all() |