Skip to content

Commit 17e9a03

Browse files
Merge branch '6.2' into 6.3
* 6.2: [Finder] Fix initial directory is opened twice typo fix Fix test Fix some return types in tests
2 parents c6e0140 + 7be4b2f commit 17e9a03

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Tests/Normalizer/AbstractObjectNormalizerTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ protected function getAttributeValue(object $object, string $attribute, string $
763763
{
764764
}
765765

766-
protected function setAttributeValue(object $object, string $attribute, $value, string $format = null, array $context = [])
766+
protected function setAttributeValue(object $object, string $attribute, $value, string $format = null, array $context = []): void
767767
{
768768
$object->$attribute = $value;
769769
}
@@ -963,7 +963,7 @@ protected function getAttributeValue(object $object, string $attribute, string $
963963
{
964964
}
965965

966-
protected function setAttributeValue(object $object, string $attribute, $value, string $format = null, array $context = [])
966+
protected function setAttributeValue(object $object, string $attribute, $value, string $format = null, array $context = []): void
967967
{
968968
if (property_exists($object, $attribute)) {
969969
$object->$attribute = $value;
@@ -1084,7 +1084,7 @@ protected function getAttributeValue(object $object, string $attribute, string $
10841084
{
10851085
}
10861086

1087-
protected function setAttributeValue(object $object, string $attribute, $value, string $format = null, array $context = [])
1087+
protected function setAttributeValue(object $object, string $attribute, $value, string $format = null, array $context = []): void
10881088
{
10891089
$object->$attribute = $value;
10901090
}
@@ -1141,7 +1141,7 @@ public function supportsDenormalization($data, string $type, string $format = nu
11411141
&& $this->serializer->supportsDenormalization($data, substr($type, 0, -2), $format, $context);
11421142
}
11431143

1144-
public function setSerializer(SerializerInterface $serializer)
1144+
public function setSerializer(SerializerInterface $serializer): void
11451145
{
11461146
$this->serializer = $serializer;
11471147
}

0 commit comments

Comments
 (0)