Skip to content

Commit b293ffe

Browse files
committed
fix merge
1 parent 3868552 commit b293ffe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Serializer/Tests/Normalizer/AbstractObjectNormalizerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1040,12 +1040,12 @@ protected function extractAttributes(object $object, string $format = null, arra
10401040
return [];
10411041
}
10421042

1043-
protected function getAttributeValue(object $object, string $attribute, string $format = null, array $context = [])
1043+
protected function getAttributeValue(object $object, string $attribute, string $format = null, array $context = []): mixed
10441044
{
10451045
return null;
10461046
}
10471047

1048-
protected function setAttributeValue(object $object, string $attribute, $value, string $format = null, array $context = [])
1048+
protected function setAttributeValue(object $object, string $attribute, $value, string $format = null, array $context = []): void
10491049
{
10501050
$object->$attribute = $value;
10511051
}

0 commit comments

Comments
 (0)