| @@ -62,9 +62,9 @@ discard block | ||
| 62 | 62 |          if (file_exists($signerKey)) { | 
| 63 | 63 | $this->signer = new RsaSha256(); | 
| 64 | 64 |              $password = getenv('JWT_KEY_PASSWORD'); | 
| 65 | -            $this->privateKey = new Key('file://' . $signerKey, $password ?: null); | |
| 65 | +            $this->privateKey = new Key('file://'.$signerKey, $password ?: null); | |
| 66 | 66 | // We're having an RSA signed key instead of a string | 
| 67 | -            $this->publicKey = new Key('file://' . getenv('JWT_PUBLIC_KEY')); | |
| 67 | +            $this->publicKey = new Key('file://'.getenv('JWT_PUBLIC_KEY')); | |
| 68 | 68 |          } else { | 
| 69 | 69 | $this->signer = new Sha256(); | 
| 70 | 70 | $this->privateKey = $signerKey; | 
| @@ -90,7 +90,7 @@ discard block | ||
| 90 | 90 | * @throws \OutOfBoundsException | 
| 91 | 91 | * @throws \BadMethodCallException | 
| 92 | 92 | */ | 
| 93 | - public function authenticate(array $data, HTTPRequest $request, ValidationResult &$result = null) | |
| 93 | + public function authenticate(array $data, HTTPRequest $request, ValidationResult & $result = null) | |
| 94 | 94 |      { | 
| 95 | 95 |          if (!$result) { | 
| 96 | 96 | $result = new ValidationResult(); |