@@ -34,35 +34,35 @@ |
||
| 34 | 34 | */ |
| 35 | 35 | class BeforeUserLoggedInEvent extends Event { |
| 36 | 36 | |
| 37 | - /** @var string */ |
|
| 38 | - private $username; |
|
| 37 | + /** @var string */ |
|
| 38 | + private $username; |
|
| 39 | 39 | |
| 40 | - /** @var string */ |
|
| 41 | - private $password; |
|
| 40 | + /** @var string */ |
|
| 41 | + private $password; |
|
| 42 | 42 | |
| 43 | - /** |
|
| 44 | - * @since 18.0.0 |
|
| 45 | - */ |
|
| 46 | - public function __construct(string $username, string $password) { |
|
| 47 | - parent::__construct(); |
|
| 48 | - $this->username = $username; |
|
| 49 | - $this->password = $password; |
|
| 50 | - } |
|
| 43 | + /** |
|
| 44 | + * @since 18.0.0 |
|
| 45 | + */ |
|
| 46 | + public function __construct(string $username, string $password) { |
|
| 47 | + parent::__construct(); |
|
| 48 | + $this->username = $username; |
|
| 49 | + $this->password = $password; |
|
| 50 | + } |
|
| 51 | 51 | |
| 52 | - /** |
|
| 53 | - * returns the login name, which must not necessarily match to a user ID |
|
| 54 | - * |
|
| 55 | - * @since 18.0.0 |
|
| 56 | - */ |
|
| 57 | - public function getUsername(): string { |
|
| 58 | - return $this->username; |
|
| 59 | - } |
|
| 52 | + /** |
|
| 53 | + * returns the login name, which must not necessarily match to a user ID |
|
| 54 | + * |
|
| 55 | + * @since 18.0.0 |
|
| 56 | + */ |
|
| 57 | + public function getUsername(): string { |
|
| 58 | + return $this->username; |
|
| 59 | + } |
|
| 60 | 60 | |
| 61 | - /** |
|
| 62 | - * @since 18.0.0 |
|
| 63 | - */ |
|
| 64 | - public function getPassword(): string { |
|
| 65 | - return $this->password; |
|
| 66 | - } |
|
| 61 | + /** |
|
| 62 | + * @since 18.0.0 |
|
| 63 | + */ |
|
| 64 | + public function getPassword(): string { |
|
| 65 | + return $this->password; |
|
| 66 | + } |
|
| 67 | 67 | |
| 68 | 68 | } |