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
+1 -1
View File
@@ -46,7 +46,7 @@ abstract class AbstractCollection extends Component implements \IteratorAggregat
* @param array $array
* @param null $model
*/
public function __construct(ActiveQuery $query, array $array = [], $model = null)
public function __construct($query, array $array = [], $model = null)
{
$this->_item = $array;
$this->query = $query;