Update to PHP 7.4

This commit is contained in:
Lexi / Zoe 2021-09-12 21:33:35 +02:00
parent 36b8cfe8b1
commit 87928dbbc9
Signed by: binaryDiv
GPG key ID: F8D4956E224DA232
16 changed files with 99 additions and 147 deletions

View file

@ -7,18 +7,12 @@ use DateTimeImmutable;
class AdminUser
{
/** @var int */
private $id;
/** @var string */
private $username;
/** @var string */
private $passwordHash;
/** @var bool */
private $active;
/** @var DateTimeImmutable */
private $createdAt;
/** @var DateTimeImmutable */
private $modifiedAt;
private int $id;
private string $username;
private string $passwordHash;
private bool $active;
private DateTimeImmutable $createdAt;
private DateTimeImmutable $modifiedAt;
private function __construct(int $id, string $username, string $passwordHash, bool $isActive,
DateTimeImmutable $createdAt, DateTimeImmutable $modifiedAt)