Completed
Branch develop (9e5d0f)
by Nate
01:59
created
src/helpers/LoggingHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     /**
27 27
      * prefixSessionData.
28 28
      *
29
-     * @return callable
29
+     * @return \Closure
30 30
      */
31 31
     public static function prefixSessionData()
32 32
     {
Please login to merge, or discard this patch.
src/db/traits/OrderBy.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
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
      * @throws Exception if the DB connection doesn't support fixed ordering
Please login to merge, or discard this patch.
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.