@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | { |
| 15 | 15 | public function __construct( |
| 16 | 16 | private readonly ContainerInterface $container |
| 17 | - ) { |
|
| 17 | + ){ |
|
| 18 | 18 | } |
| 19 | 19 | |
| 20 | 20 | /** |
@@ -52,9 +52,9 @@ discard block |
||
| 52 | 52 | */ |
| 53 | 53 | private function getTokenStorage(): TokenStorageInterface |
| 54 | 54 | { |
| 55 | - try { |
|
| 55 | + try{ |
|
| 56 | 56 | return $this->container->get(TokenStorageInterface::class); |
| 57 | - } catch (NotFoundExceptionInterface $e) { |
|
| 57 | + }catch (NotFoundExceptionInterface $e){ |
|
| 58 | 58 | throw new ScopeException('Unable to resolve token storage, invalid scope', $e->getCode(), $e); |
| 59 | 59 | } |
| 60 | 60 | } |
@@ -52,9 +52,12 @@ |
||
| 52 | 52 | */ |
| 53 | 53 | private function getTokenStorage(): TokenStorageInterface |
| 54 | 54 | { |
| 55 | - try { |
|
| 55 | + try |
|
| 56 | + { |
|
| 56 | 57 | return $this->container->get(TokenStorageInterface::class); |
| 57 | - } catch (NotFoundExceptionInterface $e) { |
|
| 58 | + } |
|
| 59 | + catch (NotFoundExceptionInterface $e) |
|
| 60 | + { |
|
| 58 | 61 | throw new ScopeException('Unable to resolve token storage, invalid scope', $e->getCode(), $e); |
| 59 | 62 | } |
| 60 | 63 | } |