Completed
Branch master (5bf9c9)
by Nate
11:46
created
src/db/DomainsQuery.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/db/traits/Attributes.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -85,6 +85,7 @@
 block discarded – undo
85 85
     /**
86 86
      * @inheritdoc
87 87
      * return static
88
+     * @param false|string $value
88 89
      */
89 90
     public function domain($value)
90 91
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,9 +8,9 @@
 block discarded – undo
8 8
 
9 9
 namespace flipbox\domains\db\traits;
10 10
 
11
+use Craft;
11 12
 use craft\base\ElementInterface;
12 13
 use craft\helpers\Db;
13
-use Craft;
14 14
 use craft\models\Site;
15 15
 use yii\base\Exception;
16 16
 use yii\db\Expression;
Please login to merge, or discard this patch.
src/fields/Domains.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -294,7 +294,7 @@
 block discarded – undo
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
      *
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,8 +15,8 @@
 block discarded – undo
15 15
 use craft\elements\db\ElementQuery;
16 16
 use craft\elements\db\ElementQueryInterface;
17 17
 use craft\helpers\StringHelper;
18
-use flipbox\domains\db\DomainsQuery;
19 18
 use flipbox\domains\Domains as DomainsPlugin;
19
+use flipbox\domains\db\DomainsQuery;
20 20
 use flipbox\domains\models\Domain;
21 21
 use flipbox\domains\validators\DomainsValidator;
22 22
 use flipbox\spark\helpers\ArrayHelper;
Please login to merge, or discard this patch.
src/models/Domain.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,11 +10,11 @@
 block discarded – undo
10 10
 
11 11
 use Craft;
12 12
 use craft\base\ElementInterface;
13
+use flipbox\domains\Domains as DomainsPlugin;
13 14
 use flipbox\domains\fields\Domains;
14 15
 use flipbox\domains\validators\DomainValidator;
15 16
 use flipbox\spark\helpers\ModelHelper;
16 17
 use flipbox\spark\models\Model;
17
-use flipbox\domains\Domains as DomainsPlugin;
18 18
 
19 19
 /**
20 20
  * @author Flipbox Factory <[email protected]>
Please login to merge, or discard this patch.
src/services/Relationship.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -282,7 +282,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -6 removed lines patch added patch discarded remove patch
@@ -9,16 +9,11 @@
 block discarded – undo
9 9
 namespace flipbox\domains\services;
10 10
 
11 11
 use Craft;
12
-use craft\base\ElementInterface;
13
-use craft\db\Query;
14 12
 use craft\events\ModelEvent;
15
-use flipbox\domains\db\DomainsQuery;
16 13
 use flipbox\domains\Domains as DomainsPlugin;
14
+use flipbox\domains\db\DomainsQuery;
17 15
 use flipbox\domains\fields\Domains;
18 16
 use flipbox\domains\models\Domain;
19
-use flipbox\spark\helpers\RecordHelper;
20
-use flipbox\spark\services\traits\ModelDelete;
21
-use flipbox\spark\services\traits\ModelSave;
22 17
 use yii\base\Component;
23 18
 use yii\base\Exception;
24 19
 
Please login to merge, or discard this patch.