@@ -121,11 +121,11 @@ |
||
| 121 | 121 | return $this->authorizer; |
| 122 | 122 | } |
| 123 | 123 | |
| 124 | - /** |
|
| 125 | - * @param string[]|string|null $permissions The list of required permissions. |
|
| 126 | - * @throws InvalidArgumentException If the permissions are not an array or a comma-separated string. |
|
| 127 | - * @return self |
|
| 128 | - */ |
|
| 124 | + /** |
|
| 125 | + * @param string[]|string|null $permissions The list of required permissions. |
|
| 126 | + * @throws InvalidArgumentException If the permissions are not an array or a comma-separated string. |
|
| 127 | + * @return self |
|
| 128 | + */ |
|
| 129 | 129 | protected function setRequiredAclPermissions($permissions) |
| 130 | 130 | { |
| 131 | 131 | if ($permissions === null || !$permissions) { |
@@ -519,7 +519,7 @@ |
||
| 519 | 519 | /** |
| 520 | 520 | * Validate the username or email address is unique. |
| 521 | 521 | * |
| 522 | - * @return boolean |
|
| 522 | + * @return false|null |
|
| 523 | 523 | */ |
| 524 | 524 | protected function validateLoginUnique() |
| 525 | 525 | { |
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | * |
| 22 | 22 | * @param AuthenticatableInterface $user The authenticated user to log in. |
| 23 | 23 | * @param boolean $remember Whether to "remember" the user or not. |
| 24 | - * @return boolean Success / Failure |
|
| 24 | + * @return boolean|null Success / Failure |
|
| 25 | 25 | */ |
| 26 | 26 | public function login(AuthenticatableInterface $user, $remember = false) |
| 27 | 27 | { |
@@ -57,7 +57,6 @@ discard block |
||
| 57 | 57 | * Updates the user's timestamp for their last log in. |
| 58 | 58 | * |
| 59 | 59 | * @param AuthenticatableInterface $user The user to update. |
| 60 | - * @param string $password The plain-text password to hash. |
|
| 61 | 60 | * @param boolean $update Whether to persist changes to storage. |
| 62 | 61 | * @return boolean Returns TRUE if the password was changed, or FALSE otherwise. |
| 63 | 62 | */ |
@@ -214,8 +214,8 @@ |
||
| 214 | 214 | if (!$this->source()->tableExists()) { |
| 215 | 215 | $this->logger->warning(sprintf( |
| 216 | 216 | '[AuthToken] Invalid login attempt from token "%s": The table "%s" does not exist.', |
| 217 | - $ident, |
|
| 218 | - $this->source()->table() |
|
| 217 | + $ident, |
|
| 218 | + $this->source()->table() |
|
| 219 | 219 | )); |
| 220 | 220 | return null; |
| 221 | 221 | } |