Completed
Push — master ( f80fd6...1abf33 )
by Song
02:45
created
src/Auth/Database/HasPermissions.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
     /**
10 10
      * Get all permissions of user.
11 11
      *
12
-     * @return mixed
12
+     * @return Collection
13 13
      */
14 14
     public function allPermissions() : Collection
15 15
     {
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     /**
20 20
      * Check if user has permission.
21 21
      *
22
-     * @param $ability
22
+     * @param string $ability
23 23
      * @param array $arguments
24 24
      * @return bool
25 25
      */
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     /**
52 52
      * Check if user is administrator.
53 53
      *
54
-     * @return mixed
54
+     * @return boolean
55 55
      */
56 56
     public function isAdministrator() : bool
57 57
     {
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      *
64 64
      * @param string $role
65 65
      *
66
-     * @return mixed
66
+     * @return boolean
67 67
      */
68 68
     public function isRole(string $role) : bool
69 69
     {
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      *
76 76
      * @param array $roles
77 77
      *
78
-     * @return mixed
78
+     * @return boolean
79 79
      */
80 80
     public function inRoles(array $roles = []) : bool
81 81
     {
Please login to merge, or discard this patch.