@@ -10,7 +10,6 @@ |
||
| 10 | 10 | |
| 11 | 11 | use craft\base\ElementInterface; |
| 12 | 12 | use flipbox\ember\actions\traits\Manage as BaseManage; |
| 13 | -use yii\base\Model; |
|
| 14 | 13 | |
| 15 | 14 | /** |
| 16 | 15 | * @author Flipbox Factory <[email protected]> |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | /** |
| 49 | 49 | * Applies the 'fixedOrder' and 'orderBy' params to the query being prepared. |
| 50 | 50 | * |
| 51 | - * @param Connection|null $db The database connection used to generate the SQL statement. |
|
| 51 | + * @param Connection $db The database connection used to generate the SQL statement. |
|
| 52 | 52 | * If this parameter is not given, the `db` application component will be used. |
| 53 | 53 | */ |
| 54 | 54 | protected function applyOrderByParams(Connection $db) |
@@ -8,8 +8,6 @@ |
||
| 8 | 8 | |
| 9 | 9 | namespace flipbox\ember\db\traits; |
| 10 | 10 | |
| 11 | -use craft\db\QueryAbortedException; |
|
| 12 | -use yii\base\Exception; |
|
| 13 | 11 | use yii\db\Connection; |
| 14 | 12 | use yii\db\Expression; |
| 15 | 13 | |
@@ -8,12 +8,12 @@ |
||
| 8 | 8 | |
| 9 | 9 | namespace flipbox\ember\db\traits; |
| 10 | 10 | |
| 11 | -use craft\models\UserGroup; |
|
| 12 | 11 | use craft\db\Query; |
| 13 | 12 | use craft\helpers\Db; |
| 13 | +use craft\models\UserGroup; |
|
| 14 | +use craft\records\UserGroup as UserGroupRecord; |
|
| 14 | 15 | use flipbox\ember\helpers\ArrayHelper; |
| 15 | 16 | use flipbox\ember\helpers\QueryHelper; |
| 16 | -use craft\records\UserGroup as UserGroupRecord; |
|
| 17 | 17 | |
| 18 | 18 | /** |
| 19 | 19 | * @author Flipbox Factory <[email protected]> |
@@ -12,8 +12,8 @@ |
||
| 12 | 12 | use craft\base\ElementInterface; |
| 13 | 13 | use craft\elements\db\ElementQuery; |
| 14 | 14 | use craft\elements\db\ElementQueryInterface; |
| 15 | -use craft\helpers\ArrayHelper; |
|
| 16 | 15 | use craft\errors\ElementNotFoundException; |
| 16 | +use craft\helpers\ArrayHelper; |
|
| 17 | 17 | use flipbox\ember\helpers\ObjectHelper; |
| 18 | 18 | use flipbox\ember\helpers\QueryHelper; |
| 19 | 19 | use flipbox\ember\helpers\SiteHelper; |