Update Query.php
Update Query.php

Change passing parameters to array with two elements – 'all' which means if we use UNION or UNION ALL construction and 'query' which is our sql query that will be at right of construction.
yiisoft/yii2-framework,yiisoft/yii2-framework