@@ -135,7 +135,7 @@ |
||
| 135 | 135 | /** |
| 136 | 136 | * Applies the 'fixedOrder' and 'orderBy' params to the query being prepared. |
| 137 | 137 | * |
| 138 | - * @param Connection|null $db The database connection used to generate the SQL statement. |
|
| 138 | + * @param Connection $db The database connection used to generate the SQL statement. |
|
| 139 | 139 | * If this parameter is not given, the `db` application component will be used. |
| 140 | 140 | * |
| 141 | 141 | * @throws Exception if the DB connection doesn't support fixed ordering |
@@ -294,7 +294,7 @@ |
||
| 294 | 294 | /** |
| 295 | 295 | * Returns the field's input HTML. |
| 296 | 296 | * |
| 297 | - * @param mixed $value |
|
| 297 | + * @param DomainsQuery $value |
|
| 298 | 298 | * @param ElementInterface|null $element |
| 299 | 299 | * @param bool $static |
| 300 | 300 | * |
@@ -16,8 +16,8 @@ |
||
| 16 | 16 | use craft\elements\db\ElementQueryInterface; |
| 17 | 17 | use craft\helpers\ArrayHelper; |
| 18 | 18 | use craft\helpers\StringHelper; |
| 19 | -use flipbox\domains\db\DomainsQuery; |
|
| 20 | 19 | use flipbox\domains\Domains as DomainsPlugin; |
| 20 | +use flipbox\domains\db\DomainsQuery; |
|
| 21 | 21 | use flipbox\domains\models\Domain; |
| 22 | 22 | use flipbox\domains\validators\DomainsValidator; |
| 23 | 23 | use yii\base\Exception; |
@@ -282,7 +282,7 @@ |
||
| 282 | 282 | } |
| 283 | 283 | |
| 284 | 284 | /** |
| 285 | - * @param null $siteId |
|
| 285 | + * @param integer|null $siteId |
|
| 286 | 286 | * @return int |
| 287 | 287 | */ |
| 288 | 288 | private function resolveSiteId($siteId = null): int |
@@ -10,8 +10,8 @@ |
||
| 10 | 10 | |
| 11 | 11 | use Craft; |
| 12 | 12 | use craft\events\ModelEvent; |
| 13 | -use flipbox\domains\db\DomainsQuery; |
|
| 14 | 13 | use flipbox\domains\Domains as DomainsPlugin; |
| 14 | +use flipbox\domains\db\DomainsQuery; |
|
| 15 | 15 | use flipbox\domains\fields\Domains; |
| 16 | 16 | use flipbox\domains\models\Domain; |
| 17 | 17 | use yii\base\Component; |