@@ -4,7 +4,6 @@ |
||
| 4 | 4 | use Anomaly\Streams\Platform\Entry\EntryRepository; |
| 5 | 5 | use Anomaly\UsersModule\Role\Contract\RoleInterface; |
| 6 | 6 | use Anomaly\UsersModule\Role\Contract\RoleRepositoryInterface; |
| 7 | -use Illuminate\Support\Collection; |
|
| 8 | 7 | |
| 9 | 8 | /** |
| 10 | 9 | * Class RoleRepositoryInterface |
@@ -21,7 +21,6 @@ |
||
| 21 | 21 | * |
| 22 | 22 | * @param PermissionFormBuilder $builder |
| 23 | 23 | * @param AddonCollection $addons |
| 24 | - * @param Translator $translator |
|
| 25 | 24 | * @param Repository $config |
| 26 | 25 | */ |
| 27 | 26 | public function handle(PermissionFormBuilder $builder, AddonCollection $addons, Repository $config) |
@@ -204,7 +204,7 @@ |
||
| 204 | 204 | * |
| 205 | 205 | * @param $permission |
| 206 | 206 | * @param bool $checkRoles |
| 207 | - * @return mixed |
|
| 207 | + * @return boolean |
|
| 208 | 208 | */ |
| 209 | 209 | public function hasPermission($permission, $checkRoles = true) |
| 210 | 210 | { |
@@ -21,7 +21,6 @@ |
||
| 21 | 21 | * |
| 22 | 22 | * @param PermissionFormBuilder $builder |
| 23 | 23 | * @param AddonCollection $addons |
| 24 | - * @param Translator $translator |
|
| 25 | 24 | * @param Repository $config |
| 26 | 25 | */ |
| 27 | 26 | public function handle(PermissionFormBuilder $builder, AddonCollection $addons, Repository $config) |