eee
This commit is contained in:
+1
-1
@@ -235,7 +235,7 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, \
|
|||||||
* @return Model|null
|
* @return Model|null
|
||||||
* @throws
|
* @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();
|
$model = static::instance();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user