From 95767d59415e4f3cd1c06b81e2e72dda838711b7 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Mon, 29 Jan 2024 16:15:02 +0100 Subject: [PATCH] Fix merge (bis) --- Tests/Normalizer/AbstractObjectNormalizerTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/Normalizer/AbstractObjectNormalizerTest.php b/Tests/Normalizer/AbstractObjectNormalizerTest.php index 853aadb8..a07fcd54 100644 --- a/Tests/Normalizer/AbstractObjectNormalizerTest.php +++ b/Tests/Normalizer/AbstractObjectNormalizerTest.php @@ -938,7 +938,7 @@ protected function extractAttributes(object $object, string $format = null, arra return array_keys((array) $object); } - protected function getAttributeValue(object $object, string $attribute, string $format = null, array $context = []) + protected function getAttributeValue(object $object, string $attribute, string $format = null, array $context = []): mixed { return $object->{$attribute}; } @@ -978,7 +978,7 @@ protected function extractAttributes(object $object, string $format = null, arra return array_keys((array) $object); } - protected function getAttributeValue(object $object, string $attribute, string $format = null, array $context = []) + protected function getAttributeValue(object $object, string $attribute, string $format = null, array $context = []): mixed { return $object->{$attribute}; } @@ -1013,7 +1013,7 @@ protected function extractAttributes(object $object, string $format = null, arra return array_keys((array) $object); } - protected function getAttributeValue(object $object, string $attribute, string $format = null, array $context = []) + protected function getAttributeValue(object $object, string $attribute, string $format = null, array $context = []): mixed { return $object->{$attribute}; }