Completed
Branch develop (9e5d0f)
by Nate
01:59
created
src/helpers/QueryHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
      * Standard param parsing.
56 56
      *
57 57
      * @param $value
58
-     * @param $join
58
+     * @param string $join
59 59
      * @return bool
60 60
      */
61 61
     public static function parseBaseParam(&$value, &$join): bool
Please login to merge, or discard this patch.
src/helpers/traits/UserGroupQueryValue.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@
 block discarded – undo
11 11
 use craft\db\Query;
12 12
 use craft\helpers\Db;
13 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]>
Please login to merge, or discard this patch.
src/services/traits/ActiveRecord.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     }
38 38
 
39 39
     /**
40
-     * @return int|null
40
+     * @return boolean
41 41
      */
42 42
     protected static function cacheDuration()
43 43
     {
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
     /**
214 214
      * @param $criteria
215 215
      * @param string|null $toScenario
216
-     * @return mixed
216
+     * @return Record|null
217 217
      */
218 218
     public function findByCriteria($criteria, string $toScenario = null)
219 219
     {
Please login to merge, or discard this patch.
src/services/traits/ActiveRecordByString.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,8 +8,8 @@
 block discarded – undo
8 8
 
9 9
 namespace flipbox\ember\services\traits;
10 10
 
11
-use yii\db\ActiveRecord as Record;
12 11
 use flipbox\ember\exceptions\RecordNotFoundException;
12
+use yii\db\ActiveRecord as Record;
13 13
 
14 14
 /**
15 15
  * @author Flipbox Factory <[email protected]>
Please login to merge, or discard this patch.