Completed
Push — master ( 7980e3...37c07d )
by Simon
11:26
created
src/Authentication/JWTAuthenticator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      * @throws BadMethodCallException
40 40
      * @throws \OutOfBoundsException
41 41
      */
42
-    public function authenticate(array $data, HTTPRequest $request, ValidationResult &$result = null)
42
+    public function authenticate(array $data, HTTPRequest $request, ValidationResult & $result = null)
43 43
     {
44 44
         if (!$result) {
45 45
             $result = new ValidationResult();
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
             ->sign($signer, $signerKey);
107 107
 
108 108
         // Save the member if it's not anonymous
109
-        if($member->ID > 0) {
109
+        if ($member->ID > 0) {
110 110
             $member->JWTUniqueID = $uniqueID;
111 111
             $member->write();
112 112
         }
Please login to merge, or discard this patch.