Completed
Push — master ( 38a9f6...3da316 )
by Pavel
02:42
created
models/forms/LoginForm.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace inblank\activeuser\models\forms;
4 4
 
5 5
 use inblank\activeuser\traits\CommonTrait;
6
-use yii;
7 6
 use yii\base\Model;
8 7
 use yii\base\Security;
9 8
 
Please login to merge, or discard this patch.
models/User.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
     /**
82 82
      * Finds an identity by the given ID.
83 83
      * @param string|integer $id the ID to be looked for
84
-     * @return IdentityInterface the identity object that matches the given ID.
84
+     * @return User|null the identity object that matches the given ID.
85 85
      * Null should be returned if such an identity cannot be found
86 86
      * or the identity is not in an active state (disabled, deleted, etc.)
87 87
      */
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      * @param mixed $token the token to be looked for
106 106
      * @param mixed $type the type of the token. The value of this parameter depends on the implementation.
107 107
      * For example, [[\yii\filters\auth\HttpBearerAuth]] will set this parameter to be `yii\filters\auth\HttpBearerAuth`.
108
-     * @return IdentityInterface the identity object that matches the given token.
108
+     * @return null|User the identity object that matches the given token.
109 109
      * Null should be returned if such an identity cannot be found
110 110
      * or the identity is not in an active state (disabled, deleted, etc.)
111 111
      */
Please login to merge, or discard this patch.
traits/CommonTrait.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace inblank\activeuser\traits;
4 4
 
5 5
 use inblank\activeuser\Module;
6
-use yii;
7 6
 use yii\base\InvalidConfigException;
8 7
 
9 8
 /**
Please login to merge, or discard this patch.