mirror of
https://codeberg.org/vlw/scaffold.git
synced 2026-02-26 11:31:57 +01:00
fix: allow mixed type for abstract $id property in Database\Model
This commit is contained in:
parent
c858cd111a
commit
a19aceca7a
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 string $id { get; }
|
abstract public mixed $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