Update to PHP 8.4; update dependencies

This commit is contained in:
Lexi / Zoe 2026-07-30 19:40:05 +02:00
parent b2c7df32eb
commit 7d78df604d
Signed by: binaryDiv
GPG key ID: F8D4956E224DA232
9 changed files with 634 additions and 855 deletions

View file

@ -45,7 +45,7 @@ class Account
(int)$data['user_id'],
$data['username'],
$data['password'],
$data['is_active'] === '1',
$data['is_active'] === 1,
$data['home_dir'],
$data['memo'] !== null ? $data['memo'] : '',
new DateTimeImmutable($data['created_at']),

View file

@ -31,7 +31,7 @@ class AdminUser
(int)$data['admin_id'],
$data['username'],
$data['password'],
$data['is_active'] === '1',
$data['is_active'] === 1,
new DateTimeImmutable($data['created_at']),
new DateTimeImmutable($data['modified_at']),
);

View file

@ -9,7 +9,7 @@ use PDO;
class AccountRepository extends BaseRepository
{
public function fetchAccountList(string $filterByDomain = null): array
public function fetchAccountList(?string $filterByDomain = null): array
{
$queryWhere = '';
$queryParams = [];