Skip to content

Commit 95ec407

Browse files
authored
fix(jsonapi): wrong variable name during merge (#7816)
1 parent 552de83 commit 95ec407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JsonApi/Serializer/ItemNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ public function denormalize(mixed $data, string $type, ?string $format = null, a
204204
// When re-entering for input DTO denormalization, data has already been
205205
// unwrapped from the JSON:API structure by the first pass. Skip extraction.
206206
if (isset($context['api_platform_input'])) {
207-
return parent::denormalize($data, $class, $format, $context);
207+
return parent::denormalize($data, $type, $format, $context);
208208
}
209209

210210
// Avoid issues with proxies if we populated the object

0 commit comments

Comments
 (0)