From 389a4722b2f880ce0f56dc052bb0bd1ef8db65da Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Wed, 20 Dec 2023 13:56:54 +0100 Subject: [PATCH] fix syntax error on PHP 7.2 --- Normalizer/AbstractNormalizer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Normalizer/AbstractNormalizer.php b/Normalizer/AbstractNormalizer.php index d3d6600f..0d0181ae 100644 --- a/Normalizer/AbstractNormalizer.php +++ b/Normalizer/AbstractNormalizer.php @@ -463,7 +463,7 @@ protected function instantiateObject(array &$data, string $class, array &$contex sprintf('Failed to create object because the class "%s" is not instantiable.', $class), $data, ['unknown'], - $context['deserialization_path'] ?? null, + $context['deserialization_path'] ?? null ); }