@@ -15,7 +15,6 @@ |
||
| 15 | 15 | |
| 16 | 16 | use Symfony\Component\Routing\Exception\ExceptionInterface; |
| 17 | 17 | use Symfony\Component\Routing\RouterInterface; |
| 18 | - |
|
| 19 | 18 | use Visithor\Factory\UrlChainFactory; |
| 20 | 19 | use Visithor\Factory\UrlFactory; |
| 21 | 20 | use Visithor\Generator\UrlGenerator; |
@@ -152,7 +152,7 @@ discard block |
||
| 152 | 152 | ->getAuthenticationUser($url->getOption('role')); |
| 153 | 153 | |
| 154 | 154 | $token = new UsernamePasswordToken($user, null, $firewall, [$role]); |
| 155 | - $session->set('_security_' . $firewall, serialize($token)); |
|
| 155 | + $session->set('_security_'.$firewall, serialize($token)); |
|
| 156 | 156 | $session->save(); |
| 157 | 157 | |
| 158 | 158 | $cookie = new Cookie( |
@@ -177,7 +177,7 @@ discard block |
||
| 177 | 177 | protected function expireAuthentication(Url $url) |
| 178 | 178 | { |
| 179 | 179 | $session = $this->session; |
| 180 | - $session->remove('_security_' . $url->getOption('firewall')); |
|
| 180 | + $session->remove('_security_'.$url->getOption('firewall')); |
|
| 181 | 181 | $session->save(); |
| 182 | 182 | |
| 183 | 183 | $this |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | */ |
| 38 | 38 | public function registerContainerConfiguration(LoaderInterface $loader) |
| 39 | 39 | { |
| 40 | - $loader->load(dirname(__FILE__) . '/config.yml'); |
|
| 40 | + $loader->load(dirname(__FILE__).'/config.yml'); |
|
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | /** |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | { |
| 38 | 38 | $loader = new YamlFileLoader( |
| 39 | 39 | $container, new |
| 40 | - FileLocator(__DIR__ . '/../Resources/config') |
|
| 40 | + FileLocator(__DIR__.'/../Resources/config') |
|
| 41 | 41 | ); |
| 42 | 42 | |
| 43 | 43 | $loader->load('environment.yml'); |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | { |
| 38 | 38 | $loader = new YamlFileLoader( |
| 39 | 39 | $container, new |
| 40 | - FileLocator(__DIR__ . '/../Resources/config') |
|
| 40 | + FileLocator(__DIR__.'/../Resources/config') |
|
| 41 | 41 | ); |
| 42 | 42 | |
| 43 | 43 | $loader->load('environment.yml'); |