This commit is contained in:
2023-04-10 17:13:24 +08:00
parent aaa3fba8ba
commit 94ebb18b7e
11 changed files with 409 additions and 767 deletions
+2 -9
View File
@@ -18,18 +18,11 @@ interface ModelInterface
{
/**
* @param int|array|string|null $param
* @param array|string $param
* @param null $db
* @return ModelInterface
*/
public static function findOne(int|array|string|null $param, $db = NULL): mixed;
/**
* @param string|int $param
* @return ModelInterface
*/
public static function find(string|int $param): mixed;
public static function findOne(array|string $param, $db = NULL): mixed;
/**