Revert "改名"

This reverts commit fdf58326
This commit is contained in:
2022-01-19 14:57:14 +08:00
parent d5b58a1fc7
commit d42fc588b4
6 changed files with 11 additions and 14 deletions
+3 -3
View File
@@ -9,8 +9,8 @@ declare(strict_types=1);
namespace Database;
use Exception;
use Database\Traits\HasBase;
use Exception;
/**
* Class HasOne
@@ -23,9 +23,9 @@ class HasOne extends HasBase
/**
* @param $name
* @param $arguments
* @return ActiveQuery
* @return ActiveQuery|static
*/
public function __call($name, $arguments): mixed
public function __call($name, $arguments)
{
if (method_exists($this, $name)) {
return call_user_func([$this, $name], ...$arguments);