From 623c08aeab86e5a90861bc37ddfd32a945f8b260 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 5 Mar 2021 18:33:15 +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 --- Database/Base/CollectionIterator.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Database/Base/CollectionIterator.php b/Database/Base/CollectionIterator.php index 00725a5e..84194e41 100644 --- a/Database/Base/CollectionIterator.php +++ b/Database/Base/CollectionIterator.php @@ -74,6 +74,7 @@ class CollectionIterator extends \ArrayIterator public function current(): mixed { $current = parent::current(); + var_dump($current); if (!($current instanceof ActiveRecord)) { $current = $this->newModel($current); }