Completed
Push — master ( d4695a...8c551d )
by Antonio
02:54
created
src/User/Helper/AuthHelper.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -60,9 +60,9 @@  discard block
 block discarded – undo
60 60
     }
61 61
 
62 62
     /**
63
-     * @param $name
63
+     * @param string $name
64 64
      *
65
-     * @return null|\yii\rbac\Item|Permission
65
+     * @return null|Permission
66 66
      */
67 67
     public function getPermission($name)
68 68
     {
@@ -70,9 +70,9 @@  discard block
 block discarded – undo
70 70
     }
71 71
 
72 72
     /**
73
-     * @param $name
73
+     * @param string $name
74 74
      *
75
-     * @return null|\yii\rbac\Item|Role
75
+     * @return null|Role
76 76
      */
77 77
     public function getRole($name)
78 78
     {
Please login to merge, or discard this patch.
src/User/Controller/RuleController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
      * @param $name
128 128
      *
129 129
      * @throws NotFoundHttpException
130
-     * @return mixed|null|\yii\rbac\Rule
130
+     * @return \yii\rbac\Rule
131 131
      */
132 132
     protected function findRule($name)
133 133
     {
Please login to merge, or discard this patch.
src/User/Model/AbstractAuthItem.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use Da\User\Traits\AuthManagerAwareTrait;
15 15
 use Da\User\Validator\RbacItemsValidator;
16 16
 use Da\User\Validator\RbacRuleExistsValidator;
17
-use Da\User\Validator\RbacRuleValidator;
18 17
 use Yii;
19 18
 use yii\base\Model;
20 19
 use yii\rbac\Item;
Please login to merge, or discard this patch.
src/User/Factory/EmailChangeStrategyFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     ];
30 30
 
31 31
     /**
32
-     * @param $strategy
32
+     * @param string $strategy
33 33
      * @param SettingsForm $form
34 34
      *
35 35
      * @throws Exception
Please login to merge, or discard this patch.
src/User/Factory/TokenFactory.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 class TokenFactory
19 19
 {
20 20
     /**
21
-     * @param $userId
21
+     * @param integer $userId
22 22
      *
23 23
      * @throws InvalidConfigException
24 24
      * @return Token
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     }
63 63
 
64 64
     /**
65
-     * @param $userId
65
+     * @param integer $userId
66 66
      *
67 67
      * @throws InvalidConfigException
68 68
      * @return Token
Please login to merge, or discard this patch.
src/User/Service/SocialNetworkAuthenticateService.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 use Da\User\Contracts\ServiceInterface;
16 16
 use Da\User\Controller\SecurityController;
17 17
 use Da\User\Event\SocialNetworkAuthEvent;
18
-use Da\User\Factory\MailFactory;
19 18
 use Da\User\Model\SocialNetworkAccount;
20 19
 use Da\User\Model\User;
21 20
 use Da\User\Query\SocialNetworkAccountQuery;
Please login to merge, or discard this patch.
src/User/Service/PasswordExpireService.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use Da\User\Contracts\ServiceInterface;
15 15
 use Da\User\Model\User;
16
-use Yii;
17 16
 
18 17
 class PasswordExpireService implements ServiceInterface
19 18
 {
Please login to merge, or discard this patch.