From 15cf14220cf3f84096154242a1bc1416b99e4e1a Mon Sep 17 00:00:00 2001 From: Lukas Vyslocky Date: Tue, 12 Apr 2022 09:42:59 +0100 Subject: [PATCH] fixed comp issue (#58) Co-authored-by: Lukas Vyslocky --- src/ArraySerializer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ArraySerializer.php b/src/ArraySerializer.php index 8a90e78..c29a01a 100644 --- a/src/ArraySerializer.php +++ b/src/ArraySerializer.php @@ -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; }