This commit is contained in:
2023-04-10 17:53:20 +08:00
parent ecfe15c3ac
commit 5b3e2bb569
2 changed files with 2 additions and 5 deletions
+1 -1
View File
@@ -676,7 +676,7 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, T
* @param $name
* @return mixed|null
*/
private function withRelate($name): mixed
protected function withRelate($name): mixed
{
$response = $this->{'get' . ucfirst($name)}();
if ($response instanceof HasBase) {