fix: allow string and int type instead of mixed

This commit is contained in:
Victor Westerlund 2026-02-12 15:24:20 +01:00
parent a19aceca7a
commit c0e2a5f2f9
Signed by: vlw
GPG key ID: D0AD730E1057DFC6

View file

@ -13,7 +13,7 @@
public const DATE_FORMAT = Database::DATE_FORMAT;
public const DATETIME_FORMAT = Database::DATETIME_FORMAT;
abstract public mixed $id { get; }
abstract public int|string $id { get; }
protected readonly Database $db;
private bool $_resolved = false;