@@ -2,9 +2,9 @@ |
||
2 | 2 | |
3 | 3 | namespace Yajra\Acl\Models; |
4 | 4 | |
5 | +use Illuminate\Database\Eloquent\Model; |
|
5 | 6 | use Illuminate\Support\Collection; |
6 | 7 | use Yajra\Acl\Traits\HasRole; |
7 | -use Illuminate\Database\Eloquent\Model; |
|
8 | 8 | |
9 | 9 | /** |
10 | 10 | * @property string resource |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | * Revokes the given permission from the role. |
40 | 40 | * |
41 | 41 | * @param int|null $permissionId |
42 | - * @return bool |
|
42 | + * @return integer |
|
43 | 43 | */ |
44 | 44 | public function revokePermission($permissionId = null) |
45 | 45 | { |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | /** |
61 | 61 | * Revokes all permissions from the role. |
62 | 62 | * |
63 | - * @return bool |
|
63 | + * @return integer |
|
64 | 64 | */ |
65 | 65 | public function revokeAllPermissions() |
66 | 66 | { |