Completed
Push — master ( 023bd4...0eb96d )
by Simon
01:43
created
src/Authentication/JWTAuthenticator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -67,9 +67,9 @@  discard block
 block discarded – undo
67 67
         if (file_exists($signerKey)) {
68 68
             $this->signer = new RsaSha256();
69 69
             $password = getenv('JWT_KEY_PASSWORD');
70
-            $this->privateKey = new Key('file://' . $signerKey, $password ?: null);
70
+            $this->privateKey = new Key('file://'.$signerKey, $password ?: null);
71 71
             // We're having an RSA signed key instead of a string
72
-            $this->publicKey = new Key('file://' . getenv('JWT_PUBLIC_KEY'));
72
+            $this->publicKey = new Key('file://'.getenv('JWT_PUBLIC_KEY'));
73 73
         } else {
74 74
             $this->signer = new Sha256();
75 75
             $this->privateKey = $signerKey;
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
      * @throws OutOfBoundsException
96 96
      * @throws BadMethodCallException
97 97
      */
98
-    public function authenticate(array $data, HTTPRequest $request, ValidationResult &$result = null)
98
+    public function authenticate(array $data, HTTPRequest $request, ValidationResult & $result = null)
99 99
     {
100 100
         if (!$result) {
101 101
             $result = new ValidationResult();
Please login to merge, or discard this patch.