Completed
Push — master ( 4a4246...e7859c )
by Nate
06:07
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/records/traits/SiteAttribute.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
     }
56 56
 
57 57
     /**
58
-     * @return SiteModel|null|object
58
+     * @return null|SiteModel
59 59
      */
60 60
     private function resolveSiteFromRelation()
61 61
     {
Please login to merge, or discard this patch.
src/traits/SiteMutator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
     /**
55 55
      * Associate a site
56 56
      *
57
-     * @param $site
57
+     * @param SiteModel $site
58 58
      * @return $this
59 59
      */
60 60
     public function setSite($site)
Please login to merge, or discard this patch.
src/traits/ElementMutator.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
     /**
56 56
      * Associate a element
57 57
      *
58
-     * @param mixed $element
58
+     * @param ElementInterface|null $element
59 59
      * @return $this
60 60
      */
61 61
     public function setElement($element = null)
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
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     public abstract static function recordClass(): string;
32 32
 
33 33
     /**
34
-     * @return int|null
34
+     * @return boolean
35 35
      */
36 36
     protected static function cacheDuration()
37 37
     {
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
     /**
212 212
      * @param $criteria
213 213
      * @param string|null $toScenario
214
-     * @return mixed
214
+     * @return Record|null
215 215
      */
216 216
     public function findByCriteria($criteria, string $toScenario = null)
217 217
     {
Please login to merge, or discard this patch.
src/services/traits/records/AccessorByString.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 
51 51
     /**
52 52
      * @param string $string
53
-     * @return Record|null
53
+     * @return null|\yii\base\BaseObject
54 54
      */
55 55
     public function findByString(string $string)
56 56
     {
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     /**
63 63
      * @param string $string
64 64
      * @throws RecordNotFoundException
65
-     * @return Record|null
65
+     * @return null|\yii\base\BaseObject
66 66
      */
67 67
     public function getByString(string $string)
68 68
     {
Please login to merge, or discard this patch.
src/services/traits/queries/Accessor.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 
37 37
     /**
38 38
      * @param $identifier
39
-     * @return mixed|null
39
+     * @return \yii\db\ActiveRecord|null
40 40
      */
41 41
     public function find($identifier)
42 42
     {
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 
46 46
     /**
47 47
      * @param $identifier
48
-     * @return mixed
48
+     * @return null|\yii\db\ActiveRecord
49 49
      * @throws NotFoundException
50 50
      */
51 51
     public function get($identifier)
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
 
65 65
     /**
66 66
      * @param $condition
67
-     * @return mixed|null
67
+     * @return null|\yii\base\BaseObject
68 68
      */
69 69
     public function findByCondition($condition)
70 70
     {
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 
76 76
     /**
77 77
      * @param $condition
78
-     * @return mixed
78
+     * @return null|\yii\base\BaseObject
79 79
      * @throws NotFoundException
80 80
      */
81 81
     public function getByCondition($condition)
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
 
95 95
     /**
96 96
      * @param $criteria
97
-     * @return mixed|null
97
+     * @return null|\yii\base\BaseObject
98 98
      */
99 99
     public function findByCriteria($criteria)
100 100
     {
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
 
108 108
     /**
109 109
      * @param $criteria
110
-     * @return mixed
110
+     * @return null|\yii\base\BaseObject
111 111
      * @throws NotFoundException
112 112
      */
113 113
     public function getByCriteria($criteria)
Please login to merge, or discard this patch.