mirror of
https://codeberg.org/vlw/scaffold.git
synced 2026-02-26 11:31:57 +01:00
fix: allow string and int type instead of mixed
This commit is contained in:
parent
a19aceca7a
commit
c0e2a5f2f9
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@
|
||||||
public const DATE_FORMAT = Database::DATE_FORMAT;
|
public const DATE_FORMAT = Database::DATE_FORMAT;
|
||||||
public const DATETIME_FORMAT = Database::DATETIME_FORMAT;
|
public const DATETIME_FORMAT = Database::DATETIME_FORMAT;
|
||||||
|
|
||||||
abstract public mixed $id { get; }
|
abstract public int|string $id { get; }
|
||||||
|
|
||||||
protected readonly Database $db;
|
protected readonly Database $db;
|
||||||
private bool $_resolved = false;
|
private bool $_resolved = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue