Passed
Push — master ( d2a547...ae8014 )
by butschster
10:20
created
src/Framework/Auth/TokenStorageScope.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,9 +52,12 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.