@@ -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