This commit is contained in:
2023-12-13 10:05:42 +08:00
parent 013be605f4
commit 16fe127019
6 changed files with 118 additions and 122 deletions
+2 -2
View File
@@ -136,9 +136,9 @@ class Model extends Base\Model
/**
* @param string $name
* @param array $arguments
* @return mixed
* @return Model|ActiveQuery
*/
public static function __callStatic(string $name, array $arguments)
public static function __callStatic(string $name, array $arguments): static|ActiveQuery
{
// TODO: Change the autogenerated stub
if (method_exists(static::class, $name)) {