@@ -39,7 +39,7 @@ discard block |
||
| 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 |
||
| 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 | } |