@@ -10,7 +10,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | { |