We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed69247 commit 5da0bd8Copy full SHA for 5da0bd8
src/Symfony/Component/Serializer/Normalizer/GetSetMethodNormalizer.php
@@ -101,6 +101,7 @@ private function isSetMethod(\ReflectionMethod $method): bool
101
&& !$method->getAttributes(Ignore::class)
102
&& 0 < $method->getNumberOfParameters()
103
&& str_starts_with($method->name, 'set')
104
+ && 3 < strlen($method->name)
105
&& !ctype_lower($method->name[3])
106
;
107
}
0 commit comments