Completed
Push — master ( 2b2636...3ee1bb )
by vistart
06:00
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/SelfBlameableTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
     /**
122 122
      * Event triggered before deleting itself.
123 123
      * @param \yii\base\ModelEvent $event
124
-     * @return boolean true if parentAttribute not specified.
124
+     * @return boolean|null true if parentAttribute not specified.
125 125
      * @throws \yii\db\IntegrityException throw if $throwRestrictException is true when $onDeleteType is on restrict.
126 126
      */
127 127
     public function onDeleteChildren($event)
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
     /**
154 154
      * Event triggered before updating itself.
155 155
      * @param \yii\base\ModelEvent $event
156
-     * @return boolean true if parentAttribute not specified.
156
+     * @return boolean|null true if parentAttribute not specified.
157 157
      * @throws \yii\db\IntegrityException throw if $throwRestrictException is true when $onUpdateType is on restrict.
158 158
      */
159 159
     public function onUpdateChildren($event)
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.