Skip to content

Commit

Permalink
Merge pull request #2069 from dpfaffenbauer/variants-recursive
Browse files Browse the repository at this point in the history
[Variant] revert nullable callback param
  • Loading branch information
dpfaffenbauer committed Sep 9, 2022
2 parents 5b0cdc3 + 3b2c98c commit 6518e2d
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 6518e2d

Please sign in to comment.