feat: API Platform support #46
Annotations
5 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
The operation was canceled.
|
Loading