Completed
Push — master ( 6505af...82dfad )
by resu
02:14
created
lib/User/Helper/AuthHelper.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -27,8 +27,8 @@  discard block
 block discarded – undo
27 27
     /**
28 28
      * Checks whether a user has certain role.
29 29
      *
30
-     * @param $userId
31
-     * @param $role
30
+     * @param integer $userId
31
+     * @param string $role
32 32
      *
33 33
      * @return bool
34 34
      */
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     }
45 45
 
46 46
     /**
47
-     * @param $username
47
+     * @param string|null $username
48 48
      *
49 49
      * @return bool
50 50
      */
@@ -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.