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 e867b31 commit 0892dcfCopy full SHA for 0892dcf
src/PhpGenerator/PhpFile.php
@@ -125,8 +125,8 @@ public function getFunctions(): array
125
$functions = [];
126
foreach ($this->namespaces as $n => $namespace) {
127
$n .= $n ? '\\' : '';
128
- foreach ($namespace->getFunctions() as $c => $class) {
129
- $functions[$n . $c] = $class;
+ foreach ($namespace->getFunctions() as $f => $function) {
+ $functions[$n . $f] = $function;
130
}
131
132
return $functions;
0 commit comments