Skip to content

Commit c76c3d0

Browse files
llupasoyuka
authored andcommitted
Return denormalized resource class object after DataTransformer transforms InputClass
1 parent fdc5bce commit c76c3d0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Serializer/AbstractItemNormalizer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,8 @@ public function denormalize($data, $class, $format = null, array $context = [])
170170
$class,
171171
$context
172172
);
173+
174+
return $data;
173175
}
174176

175177
return parent::denormalize($data, $class, $format, $context);

0 commit comments

Comments
 (0)