From ded06c87284326878f26133439671a84dc06a67e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Tue, 19 Oct 2021 18:30:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Model.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Model.php b/src/Model.php index b1c0055..d26bc88 100644 --- a/src/Model.php +++ b/src/Model.php @@ -311,12 +311,10 @@ class Model extends Base\Model private function runRelate(): array { $relates = []; - - var_dump($this->getWith()); - if (empty($with = $this->getWith())) { return $relates; } + var_dump($with); foreach ($with as $val) { $relates[$val] = $this->resolveObject($val); }