Completed
Branch develop (fafb06)
by Nate
10:31
created
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
@@ -16,8 +16,8 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/services/DomainAssociations.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -382,7 +382,7 @@
 block discarded – undo
382 382
 
383 383
     /**
384 384
      * @param ElementInterface|Element $element
385
-     * @param array $models
385
+     * @param Domain[] $models
386 386
      * @param array $currentModels
387 387
      * @param array $newOrder
388 388
      * @return bool
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
 use craft\base\Element;
13 13
 use craft\base\ElementInterface;
14 14
 use craft\db\Query;
15
-use flipbox\domains\db\DomainsQuery;
16 15
 use flipbox\domains\Domains as DomainsPlugin;
16
+use flipbox\domains\db\DomainsQuery;
17 17
 use flipbox\domains\events\DomainAssociationEvent;
18 18
 use flipbox\domains\fields\Domains;
19 19
 use flipbox\domains\models\Domain;
Please login to merge, or discard this patch.
src/services/Domains.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     /**
50 50
      * @param DomainsField $field
51 51
      * @param $identifier
52
-     * @return mixed|null
52
+     * @return null|\yii\base\BaseObject
53 53
      */
54 54
     public function find(DomainsField $field, $identifier)
55 55
     {
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     /**
60 60
      * @param DomainsField $field
61 61
      * @param $identifier
62
-     * @return mixed
62
+     * @return null|\yii\base\BaseObject
63 63
      * @throws NotFoundException
64 64
      */
65 65
     public function get(DomainsField $field, $identifier)
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     /**
80 80
      * @param DomainsField $field
81 81
      * @param $condition
82
-     * @return mixed|null
82
+     * @return null|\yii\base\BaseObject
83 83
      */
84 84
     public function findByCondition(DomainsField $field, $condition)
85 85
     {
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
     /**
93 93
      * @param DomainsField $field
94 94
      * @param $condition
95
-     * @return mixed
95
+     * @return null|\yii\base\BaseObject
96 96
      * @throws NotFoundException
97 97
      */
98 98
     public function getByCondition(DomainsField $field, $condition)
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
     /**
113 113
      * @param DomainsField $field
114 114
      * @param $criteria
115
-     * @return mixed|null
115
+     * @return null|\yii\base\BaseObject
116 116
      */
117 117
     public function findByCriteria(DomainsField $field, $criteria)
118 118
     {
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
     /**
127 127
      * @param DomainsField $field
128 128
      * @param $criteria
129
-     * @return mixed
129
+     * @return null|\yii\base\BaseObject
130 130
      * @throws NotFoundException
131 131
      */
132 132
     public function getByCriteria(DomainsField $field, $criteria)
Please login to merge, or discard this patch.