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 30ff227 commit 6573959Copy full SHA for 6573959
src/Reflection/Php/PhpMethodReflection.php
@@ -193,6 +193,10 @@ public function getName(): string
193
$name = $this->reflection->getName();
194
$lowercaseName = strtolower($name);
195
if ($lowercaseName === $name) {
196
+ if (PHP_VERSION_ID >= 80000) {
197
+ return $name;
198
+ }
199
+
200
// fix for https://bugs.php.net/bug.php?id=74939
201
foreach ($this->getDeclaringClass()->getNativeReflection()->getTraitAliases() as $traitTarget) {
202
$correctName = $this->getMethodNameWithCorrectCase($name, $traitTarget);
0 commit comments