diff --git a/composer.json b/composer.json index 0735792b7..62e9f29ce 100644 --- a/composer.json +++ b/composer.json @@ -45,7 +45,7 @@ "symfony/security-csrf": "^7.4", "symfony/yaml": "^7.4", "twig/twig": "^3.0", - "webmozart/assert": "^1.11" + "webmozart/assert": "^2.3" }, "require-dev": { "ibexa/code-style": "~2.0.0", diff --git a/src/contracts/Output/VisitorAdapterNormalizer.php b/src/contracts/Output/VisitorAdapterNormalizer.php index 17cb0d7a1..9a455d7b5 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|string|int|float|bool|\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