@@ -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 | }); |
@@ -235,7 +235,7 @@ discard block |
||
| 235 | 235 | * USER & LEVEL |
| 236 | 236 | * Pull the specific type requested from the cache |
| 237 | 237 | * |
| 238 | - * @param $type |
|
| 238 | + * @param string $type |
|
| 239 | 239 | * @return \Illuminate\Support\Collection |
| 240 | 240 | */ |
| 241 | 241 | protected function cachePull($type) |
@@ -379,7 +379,7 @@ discard block |
||
| 379 | 379 | * for modifyPermissions |
| 380 | 380 | * |
| 381 | 381 | * @param $permissions |
| 382 | - * @param $action |
|
| 382 | + * @param string $action |
|
| 383 | 383 | * @return array |
| 384 | 384 | * @throws PermissionNotFoundException |
| 385 | 385 | */ |