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 6ad986f commit a221b2fCopy full SHA for a221b2f
Normalizer/GetSetMethodNormalizer.php
@@ -118,6 +118,7 @@ private function isSetMethod(\ReflectionMethod $method): bool
118
return !$method->isStatic()
119
&& !$method->getAttributes(Ignore::class)
120
&& 0 < $method->getNumberOfParameters()
121
+ && 3 < \strlen($method->name)
122
&& str_starts_with($method->name, 'set')
123
&& !ctype_lower($method->name[3])
124
;
0 commit comments