Completed
Branch master (cd999f)
by Vuong
01:38
created
src/Behavior.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -174,7 +174,7 @@
 block discarded – undo
174 174
     /**
175 175
      * Save the user identity logged in object when an identity need to verify.
176 176
      *
177
-     * @param IdentityInterface|null $identity the identity object associated with the currently logged user.
177
+     * @param IdentityInterface $identity the identity object associated with the currently logged user.
178 178
      * @param int $duration number of seconds that the user can remain in logged-in status.
179 179
      */
180 180
     public function saveIdentityLoggedIn(IdentityInterface $identity, int $duration)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 namespace vxm\mfa;
9 9
 
10 10
 use Yii;
11
-
12 11
 use yii\base\Behavior as BaseBehavior;
13 12
 use yii\base\InvalidValueException;
14 13
 use yii\di\Instance;
Please login to merge, or discard this patch.
src/Otp.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -9,9 +9,7 @@
 block discarded – undo
9 9
 
10 10
 use OTPHP\HOTP;
11 11
 use OTPHP\TOTP;
12
-
13 12
 use ParagonIE\ConstantTime\Base32;
14
-
15 13
 use yii\base\BaseObject;
16 14
 use yii\base\NotSupportedException;
17 15
 
Please login to merge, or discard this patch.
src/VerifyAction.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 namespace vxm\mfa;
9 9
 
10 10
 use Yii;
11
-
12 11
 use yii\base\Action;
13 12
 use yii\base\InvalidConfigException;
14 13
 
Please login to merge, or discard this patch.
tests/Identity.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 namespace vxm\tests\unit\mfa;
9 9
 
10 10
 use vxm\mfa\IdentityInterface;
11
-
12 11
 use yii\base\Model;
13 12
 use yii\base\NotSupportedException;
14 13
 
Please login to merge, or discard this patch.