@@ -134,7 +134,7 @@ |
||
| 134 | 134 | { |
| 135 | 135 | parent::boot(); |
| 136 | 136 | |
| 137 | - static::deleting(function ($permission) { |
|
| 137 | + static::deleting(function($permission) { |
|
| 138 | 138 | $permission->users()->detach(); |
| 139 | 139 | $permission->level()->dissociate()->save(); |
| 140 | 140 | }); |
@@ -384,7 +384,7 @@ |
||
| 384 | 384 | * for modifyPermissions |
| 385 | 385 | * |
| 386 | 386 | * @param $permissions |
| 387 | - * @param $action |
|
| 387 | + * @param string $action |
|
| 388 | 388 | * @return array |
| 389 | 389 | * @throws PermissionNotFoundException |
| 390 | 390 | */ |