diff --git a/composer.json b/composer.json index 0735792b7..f52ea1146 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,6 @@ "ext-xmlwriter": "*", "api-platform/core": "~4.1.18", "ibexa/core": "~5.0.x-dev", - "ibexa/polyfill-php82": "^1.0", "ibexa/templated-uri-bundle": "^4.0", "lexik/jwt-authentication-bundle": "^2.8", "symfony/config": "^7.4", diff --git a/src/contracts/Output/VisitorAdapterNormalizer.php b/src/contracts/Output/VisitorAdapterNormalizer.php index 17cb0d7a1..8fc0440b3 100644 --- a/src/contracts/Output/VisitorAdapterNormalizer.php +++ b/src/contracts/Output/VisitorAdapterNormalizer.php @@ -34,6 +34,8 @@ public function __construct( /** * @param array $context * + * @return array|bool|string|int|float|\ArrayObject|null + * * @throws \Symfony\Component\Serializer\Exception\ExceptionInterface */ public function normalize(mixed $object, ?string $format = null, array $context = []): array|bool|string|int|float|null|\ArrayObject diff --git a/src/lib/Server/Input/Parser/ContentType/Query/ContentTypeQuery.php b/src/lib/Server/Input/Parser/ContentType/Query/ContentTypeQuery.php index f59a88a9a..e62337562 100644 --- a/src/lib/Server/Input/Parser/ContentType/Query/ContentTypeQuery.php +++ b/src/lib/Server/Input/Parser/ContentType/Query/ContentTypeQuery.php @@ -14,7 +14,6 @@ use Ibexa\Contracts\Rest\Input\Parser\Query\Criterion\CriterionProcessorInterface; use Ibexa\Contracts\Rest\Input\Parser\Query\SortClause\SortClauseProcessorInterface; use Ibexa\Contracts\Rest\Input\ParsingDispatcher; -use function Ibexa\PolyfillPhp82\iterator_to_array; use Ibexa\Rest\Input\BaseParser; /**