From b94f654ad04ced92835c2e1f1f8182255ecd9bae Mon Sep 17 00:00:00 2001 From: whwyy Date: Mon, 18 Dec 2023 18:36:08 +0800 Subject: [PATCH] eee --- ModelInterface.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ModelInterface.php b/ModelInterface.php index c2ee38c..10875d2 100644 --- a/ModelInterface.php +++ b/ModelInterface.php @@ -19,10 +19,9 @@ interface ModelInterface /** * @param array|string|int $param - * @param null $db * @return ModelInterface|null */ - public static function findOne(array|string|int $param, $db = NULL): ?static; + public static function findOne(array|string|int $param): ?static; /** @@ -33,10 +32,9 @@ interface ModelInterface /** * @param int $param - * @param null $db * @return ModelInterface|null */ - public static function primary(int $param, $db = NULL): ?static; + public static function primary(int $param): ?static; /**