From c0e2a5f2f9b924a0fe6ef98aec8c20da9b967b8b Mon Sep 17 00:00:00 2001 From: Victor Westerlund Date: Thu, 12 Feb 2026 15:24:20 +0100 Subject: [PATCH] fix: allow string and int type instead of mixed --- 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 7903340..3ff76fe 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 mixed $id { get; } + abstract public int|string $id { get; } protected readonly Database $db; private bool $_resolved = false;