Completed
Push — master ( 8b157a...24fb80 )
by vistart
10:41 queued 04:19
created
gii/baseUserModel/Generator.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 use yii\db\ActiveQuery;
17 17
 use yii\db\ActiveRecord;
18 18
 use yii\db\Connection;
19
-use yii\db\Schema;
20 19
 use yii\gii\CodeFile;
21 20
 use yii\helpers\Inflector;
22 21
 use yii\base\NotSupportedException;
Please login to merge, or discard this patch.
traits/ConfirmationTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
 
74 74
     /**
75 75
      * Apply confirmation.
76
-     * @return boolean
76
+     * @return false|null
77 77
      * @throws \yii\base\NotSupportedException
78 78
      */
79 79
     public function applyConfirmation()
Please login to merge, or discard this patch.
traits/EntityTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
     public $queryClass;
60 60
 
61 61
     /**
62
-     * @return \static New self without any initializations.
62
+     * @return EntityTrait New self without any initializations.
63 63
      */
64 64
     public static function buildNoInitModel()
65 65
     {
Please login to merge, or discard this patch.
traits/IdentityTrait.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,6 @@  discard block
 block discarded – undo
38 38
 
39 39
     /**
40 40
      * Finds an identity by the given ID.
41
-     * @param string|integer $id
42 41
      * @return type
43 42
      */
44 43
     public static function findIdentity($identity)
@@ -93,7 +92,7 @@  discard block
 block discarded – undo
93 92
     /**
94 93
      * Validate the auth key.
95 94
      * @param string $authKey
96
-     * @return string
95
+     * @return boolean
97 96
      */
98 97
     public function validateAuthKey($authKey)
99 98
     {
Please login to merge, or discard this patch.
traits/IDTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@
 block discarded – undo
150 150
 
151 151
     /**
152 152
      * Check if $identity existed.
153
-     * @param mixed $identity
153
+     * @param integer $identity
154 154
      * @return boolean
155 155
      */
156 156
     public function checkIdExists($identity)
Please login to merge, or discard this patch.
traits/UserRelationTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
 
88 88
     /**
89 89
      * Get whether this relation is favorite or not.
90
-     * @return boolean
90
+     * @return boolean|null
91 91
      */
92 92
     public function getIsFavorite()
93 93
     {
Please login to merge, or discard this patch.
traits/MetaTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
134 134
      * Set values in batch.
135 135
      * @param array $keys meta key-value pairs.
136 136
      * @param string $createdBy
137
-     * @return false if $keys is not an array.
137
+     * @return false|null if $keys is not an array.
138 138
      */
139 139
     public static function sets($keys, $createdBy = null)
140 140
     {
Please login to merge, or discard this patch.
traits/IPTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@
 block discarded – undo
141 141
      * If you disable($this->enableIP = false) the IP feature, this method will
142 142
      * return null, or return the significantly IP address(Colon hexadecimal of
143 143
      * IPv6 or Dotted decimal of IPv4).
144
-     * @return string|integer|null
144
+     * @return null|string
145 145
      */
146 146
     public function getIpAddress()
147 147
     {
Please login to merge, or discard this patch.
traits/EntityQueryTrait.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
      * Specify guid attribute.
40
-     * @param string|array $guid
40
+     * @param string $guid
41 41
      * @param false|string $like false, 'like', 'or like', 'not like', 'or not like'.
42 42
      * @return $this
43 43
      */
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
 
95 95
     /**
96 96
      * Specify page condition.
97
-     * @param string|int $pageSize It will return all models if it is 'all',
97
+     * @param integer $pageSize It will return all models if it is 'all',
98 98
      * or it will be regarded as sum of models.
99 99
      * @param int $currentPage The current page number if it is integer begun with 0.
100 100
      * @return $this
Please login to merge, or discard this patch.