feat: API Platform support #43
Annotations
6 errors
|
Run psalm:
packages/rekapager-api-platform/src/PageNormalizer.php#L38
packages/rekapager-api-platform/src/PageNormalizer.php:38:16: MixedReturnTypeCoercion: The declared return type 'ArrayObject<array-key, mixed>|array<array-key, mixed>|null|scalar' for Rekalogika\Rekapager\ApiPlatform\PageNormalizer::normalize is more specific than the inferred return type 'ArrayObject|array<array-key, mixed>|null|scalar' (see https://psalm.dev/197)
|
Run psalm:
packages/rekapager-api-platform/src/PageNormalizer.php#L48
packages/rekapager-api-platform/src/PageNormalizer.php:48:20: MixedReturnTypeCoercion: The type 'ArrayObject|array<array-key, mixed>|null|scalar' is more general than the declared return type 'ArrayObject<array-key, mixed>|array<array-key, mixed>|null|scalar' for Rekalogika\Rekapager\ApiPlatform\PageNormalizer::normalize (see https://psalm.dev/197)
|
Run psalm:
packages/rekapager-api-platform/src/PageNormalizer.php#L52
packages/rekapager-api-platform/src/PageNormalizer.php:52:20: MixedReturnTypeCoercion: The type 'ArrayObject|array<array-key, mixed>|null|scalar' is more general than the declared return type 'ArrayObject<array-key, mixed>|array<array-key, mixed>|null|scalar' for Rekalogika\Rekapager\ApiPlatform\PageNormalizer::normalize (see https://psalm.dev/197)
|
Run psalm:
packages/rekapager-api-platform/src/PageNormalizer.php#L94
packages/rekapager-api-platform/src/PageNormalizer.php:94:45: TooManyArguments: Too many arguments for method Symfony\Component\Serializer\Normalizer\NormalizerInterface::supportsnormalization - saw 3 (see https://psalm.dev/026)
|
Run psalm
The operation was canceled.
|
Loading