This commit is contained in:
2021-02-22 19:46:21 +08:00
parent bda5302c50
commit cd2df2c4c8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ class CollectionIterator extends \ArrayIterator
* @param int $flags
* @throws Exception
*/
public function __construct($model, $query, $array = array(), $flags = 0)
public function __construct(ActiveRecord $model,ActiveQuery $query, $array = array(), $flags = 0)
{
$this->model = $model;
$this->query = $query;