From a19aceca7a335962b7a11676663d9fbab064f357 Mon Sep 17 00:00:00 2001 From: Victor Westerlund Date: Thu, 12 Feb 2026 15:21:35 +0100 Subject: [PATCH] fix: allow mixed type for abstract $id property in Database\Model --- src/Database/Model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Database/Model.php b/src/Database/Model.php index df1def8..7903340 100644 --- a/src/Database/Model.php +++ b/src/Database/Model.php @@ -13,7 +13,7 @@ public const DATE_FORMAT = Database::DATE_FORMAT; public const DATETIME_FORMAT = Database::DATETIME_FORMAT; - abstract public string $id { get; } + abstract public mixed $id { get; } protected readonly Database $db; private bool $_resolved = false;