Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
jiannei committed Oct 29, 2021
1 parent 7f534e8 commit eeb05a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ protected function formatResourceCollectionResponse($resource, string $message =
$paginationInformation = $this->formatPaginatedData($paginated);

$data = array_merge_recursive(['data' => $resource->resolve(request())], $resource->with(request()), $resource->additional, $paginationInformation);
}else{
} else {
$data = array_merge_recursive($resource->resolve(request()), $resource->with(request()), $resource->additional);
}

Expand Down

0 comments on commit eeb05a1

Please sign in to comment.