Skip to content

Commit 797dc09

Browse files
committed
Merge branch '2.8' into 3.2
* 2.8: [Serializer] Removed duplicate operation in camelcase denormalization [Validator] do not guess getter method names
2 parents bb72e61 + e466358 commit 797dc09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NameConverter/CamelCaseToSnakeCaseNameConverter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function denormalize($propertyName)
7676
}
7777

7878
if (null === $this->attributes || in_array($camelCasedName, $this->attributes)) {
79-
return $this->lowerCamelCase ? lcfirst($camelCasedName) : $camelCasedName;
79+
return $camelCasedName;
8080
}
8181

8282
return $propertyName;

0 commit comments

Comments
 (0)