This commit is contained in:
2021-02-22 19:52:04 +08:00
parent cd2df2c4c8
commit 61249998dd
3 changed files with 11 additions and 3 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
<?php
declare(strict_types=1);
namespace Database\Base;
@@ -34,7 +35,7 @@ class CollectionIterator extends \ArrayIterator
* @param int $flags
* @throws Exception
*/
public function __construct(ActiveRecord $model,ActiveQuery $query, $array = array(), $flags = 0)
public function __construct($model, $query, $array = array(), $flags = 0)
{
$this->model = $model;
$this->query = $query;