Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot authored and jiannei committed Jan 3, 2023
1 parent c50396a commit 827b19e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Support/Serializers/ArraySerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class ArraySerializer extends FractalArraySerializer
* @param array $data
* @return array
*/
public function collection(?string $resourceKey, array $data):array
public function collection(?string $resourceKey, array $data): array
{
$paginationDataField = Config::get('response.format.fields.data.fields.data.alias', 'data');

Expand Down
2 changes: 1 addition & 1 deletion src/Support/Serializers/SimpleArraySerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class SimpleArraySerializer extends ArraySerializer
* @param array $data
* @return array
*/
public function collection(?string $resourceKey, array $data):array
public function collection(?string $resourceKey, array $data): array
{
return $data;
}
Expand Down

0 comments on commit 827b19e

Please sign in to comment.