Passed
Pull Request — master (#62)
by
unknown
34:03
created
src/IdTokenResponse.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     ) {
43 43
         $this->identityProvider = $identityProvider;
44 44
         $this->claimExtractor   = $claimExtractor;
45
-        $this->keyIdentifier   = $keyIdentifier;
45
+        $this->keyIdentifier = $keyIdentifier;
46 46
     }
47 47
 
48 48
     protected function getBuilder(AccessTokenEntityInterface $accessToken, UserEntityInterface $userEntity)
@@ -102,9 +102,9 @@  discard block
 block discarded – undo
102 102
             method_exists($this->privateKey, 'getKeyContents')
103 103
             && !empty($this->privateKey->getKeyContents())
104 104
         ) {
105
-            $key = InMemory::plainText($this->privateKey->getKeyContents(), (string)$this->privateKey->getPassPhrase());
105
+            $key = InMemory::plainText($this->privateKey->getKeyContents(), (string) $this->privateKey->getPassPhrase());
106 106
         } else {
107
-            $key = LocalFileReference::file($this->privateKey->getKeyPath(), (string)$this->privateKey->getPassPhrase());
107
+            $key = LocalFileReference::file($this->privateKey->getKeyPath(), (string) $this->privateKey->getPassPhrase());
108 108
         }
109 109
 
110 110
         $token = $builder->getToken(new Sha256(), $key);
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
     private function isOpenIDRequest($scopes)
122 122
     {
123 123
         // Verify scope and make sure openid exists.
124
-        $valid  = false;
124
+        $valid = false;
125 125
 
126 126
         foreach ($scopes as $scope) {
127 127
             if ($scope->getIdentifier() === 'openid') {
Please login to merge, or discard this patch.