Skip to content

Commit 609f792

Browse files
author
Nil Portugués Calderó
committed
fixing my merge
1 parent 14f1e83 commit 609f792

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Helpers/DataIncludedHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ protected static function addToRelationshipsArray(
9595
foreach ($value as $propertyName => $attribute) {
9696
if (PropertyHelper::isAttributeProperty($mappings, $propertyName, $type)) {
9797

98-
$propertyName = DataAttributesHelper::transformToValidMemberName($propertyName);
98+
$propertyName = DataAttributesHelper::transformToValidMemberName(RecursiveFormatterHelper::camelCaseToUnderscore($propertyName));
9999
if (\array_key_exists(Serializer::MAP_TYPE, $attribute)
100100
&& count(array_values($attribute[Serializer::SCALAR_VALUE])) > 0
101101
&& \array_key_exists(Serializer::CLASS_IDENTIFIER_KEY, array_values($attribute[Serializer::SCALAR_VALUE])[0])) {

0 commit comments

Comments
 (0)