Skip to content

Commit e7267b5

Browse files
committed
Apply fixes from StyleCI
1 parent d6cdb82 commit e7267b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Http/Response.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ protected function buildGatesForModel(Model $model, Resource $resource, array $g
3737
$authorizedToDelete = $resource->authorizedTo('delete', $model);
3838
$authorizedToRestore = $resource->authorizedTo('restore', $model);
3939
$authorizedToForceDelete = $resource->authorizedTo('forceDelete', $model);
40+
4041
return array_merge(
4142
in_array('view', $gates) ? [config('rest.gates.names.authorized_to_view') => $authorizedToView->message() ?? $authorizedToView->allowed()] : [],
4243
in_array('update', $gates) ? [config('rest.gates.names.authorized_to_update') => $authorizedToUpdate->message() ?? $authorizedToUpdate->allowed()] : [],

0 commit comments

Comments
 (0)