Closed lukasvy closed 2 years ago
Could you send a PR that fixes this at our end?
Dear contributor,
because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.
It seems guys at League\Fractal updated definitions that are used within Spatie\Fractalistic\ArraySerializer which in term broke whole library.
Declaration of Spatie\Fractalistic\ArraySerializer::collection(string $resourceKey, array $data): array must be compatible with League\Fractal\Serializer\ArraySerializer::collection(?string $resourceKey, array $data): array