From 3ab08c9ca7ff44c7fd681c0b3e692676e7da745e Mon Sep 17 00:00:00 2001 From: whwyy Date: Wed, 13 Dec 2023 16:22:25 +0800 Subject: [PATCH] eee --- Base/Model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Base/Model.php b/Base/Model.php index f098503..89b1804 100644 --- a/Base/Model.php +++ b/Base/Model.php @@ -235,7 +235,7 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, \ * @return Model|null * @throws */ - public static function findOne(int|string|array $param, $db = NULL): ?static + public static function findOne(int|string|array $param, $db = NULL): static|null|bool { $model = static::instance();