Completed
Push — master ( cd8999...8a7088 )
by
unknown
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/Bootstrap.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,6 @@
 block discarded – undo
24 24
 use yii\console\Application as ConsoleApplication;
25 25
 use yii\i18n\PhpMessageSource;
26 26
 use yii\web\Application as WebApplication;
27
-
28 27
 use yii\base\Event as YiiEvent;
29 28
 use Da\User\Event\FormEvent;
30 29
 use Da\User\Controller\SecurityController;
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
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace Da\User\Service;
13 13
 
14
-use Yii;
15 14
 use Da\User\Contracts\ServiceInterface;
16 15
 use Da\User\Model\User;
17 16
 
Please login to merge, or discard this patch.