Passed
Push — master ( c51354...8b2af1 )
by Ross
30:39
created
src/Block/Customer/Account/Edit/UseTwoFactor.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -95,6 +95,9 @@
 block discarded – undo
95 95
         return $this->getSelectedSnippet($customer, false);
96 96
     }
97 97
 
98
+    /**
99
+     * @param boolean $condition
100
+     */
98 101
     private function getSelectedSnippet(CustomerInterface $customer, $condition)
99 102
     {
100 103
         $html = '';
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,6 @@
 block discarded – undo
27 27
 use Rossmitchell\Twofactor\Model\Config\Customer as CustomerConfig;
28 28
 use Rossmitchell\Twofactor\Model\Customer\Attribute\IsUsingTwoFactor;
29 29
 use Rossmitchell\Twofactor\Model\Customer\Customer;
30
-use Rossmitchell\Twofactor\Model\Customer\UsingTwoFactor;
31 30
 
32 31
 class UseTwoFactor extends Template
33 32
 {
Please login to merge, or discard this patch.
src/Controller/Adminhtml/Adminlogin/Verify.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 
22 22
 namespace Rossmitchell\Twofactor\Controller\Adminhtml\Adminlogin;
23 23
 
24
-use Magento\Backend\App\Action;
25 24
 use Magento\Backend\App\Action\Context;
26 25
 use Magento\Framework\App\ResponseInterface;
27 26
 use PragmaRX\Google2FA\Exceptions\InvalidCharactersException;
Please login to merge, or discard this patch.
src/Controller/Customerlogin/AbstractController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -140,6 +140,9 @@
 block discarded – undo
140 140
         return $this->redirect('/');
141 141
     }
142 142
 
143
+    /**
144
+     * @param string $path
145
+     */
143 146
     public function redirect($path)
144 147
     {
145 148
         $redirect = $this->resultRedirectFactory->create();
Please login to merge, or discard this patch.
src/Observer/Controller/Frontend/Postdispatch.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@  discard block
 block discarded – undo
21 21
 
22 22
 namespace Rossmitchell\Twofactor\Observer\Controller\Frontend;
23 23
 
24
-use Magento\Framework\App\Action\Action;
25 24
 use Magento\Framework\App\ResponseFactory;
26 25
 use Magento\Framework\Event\Observer;
27 26
 use Magento\Framework\Event\ObserverInterface;
@@ -33,7 +32,6 @@  discard block
 block discarded – undo
33 32
 use Rossmitchell\Twofactor\Model\Urls\Checker;
34 33
 use Rossmitchell\Twofactor\Model\Urls\Fetcher;
35 34
 use Rossmitchell\Twofactor\Model\Verification\IsVerified;
36
-use Rossmitchell\Twofactor\Model\TwoFactorUrls;
37 35
 
38 36
 /**
39 37
  * Class Postdispatch
Please login to merge, or discard this patch.