Completed
Push — master ( 1efa72...9da377 )
by Arjay
10:53
created
src/Traits/HasPermission.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
      * Assigns the given permission to the role.
11 11
      *
12 12
      * @param  int $permissionId
13
-     * @return bool
13
+     * @return null|false
14 14
      */
15 15
     public function assignPermission($permissionId = null)
16 16
     {
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      * Revokes the given permission from the role.
36 36
      *
37 37
      * @param  int|null $permissionId
38
-     * @return bool
38
+     * @return integer
39 39
      */
40 40
     public function revokePermission($permissionId = null)
41 41
     {
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     /**
57 57
      * Revokes all permissions from the role.
58 58
      *
59
-     * @return bool
59
+     * @return integer
60 60
      */
61 61
     public function revokeAllPermissions()
62 62
     {
Please login to merge, or discard this patch.