Skip to content

Commit

Permalink
[Variant] revert nullable callback param
Browse files Browse the repository at this point in the history
  • Loading branch information
dpfaffenbauer committed Sep 8, 2022
1 parent de50139 commit 3b2c98c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function serializeGroups(array $attributeGroups, array $groups = ['coresh
return $this->serializer->normalize($attributeGroups, 'json', [
'groups' => $groups,
AbstractNormalizer::CALLBACKS => [
'valueColor' => static function (string $innerObject) {
'valueColor' => static function (?string $innerObject) {
return $innerObject;
},
],
Expand Down

0 comments on commit 3b2c98c

Please sign in to comment.