Skip to content

Commit

Permalink
fixed comp issue (#58)
Browse files Browse the repository at this point in the history
Co-authored-by: Lukas Vyslocky <[email protected]>
  • Loading branch information
lukasvy and Lukas Vyslocky authored Apr 12, 2022
1 parent 7434efc commit 15cf142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ArraySerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class ArraySerializer extends BaseArraySerializer
*
* @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 15cf142

Please sign in to comment.