From ed2635a1c931649368c9a047065b06fe2fdb5ce3 Mon Sep 17 00:00:00 2001 From: jiannei Date: Fri, 29 Oct 2021 10:23:32 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Response.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Response.php b/src/Response.php index be18e54..1853b68 100644 --- a/src/Response.php +++ b/src/Response.php @@ -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); }