Skip to content

Commit 4a770dc

Browse files
committed
fix deprecation message
1 parent 9e5cceb commit 4a770dc

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/Symfony/Extensions/PropertyNormalizerWrapper.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,12 @@ protected function extractAttributes(object $object, string $format = null, arra
5757
/**
5858
* @throws \Error
5959
*/
60-
protected function getAttributeValue(object $object, string $attribute, string $format = null, array $context = [])
61-
{
60+
protected function getAttributeValue(
61+
object $object,
62+
string $attribute,
63+
string $format = null,
64+
array $context = []
65+
): mixed {
6266
return $object->{$attribute} ?? parent::getAttributeValue($object, $attribute, $format, $context);
6367
}
6468

0 commit comments

Comments
 (0)