Skip to content

Commit 0892dcf

Browse files
Daandg
authored andcommitted
typo
1 parent e867b31 commit 0892dcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/PhpGenerator/PhpFile.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ public function getFunctions(): array
125125
$functions = [];
126126
foreach ($this->namespaces as $n => $namespace) {
127127
$n .= $n ? '\\' : '';
128-
foreach ($namespace->getFunctions() as $c => $class) {
129-
$functions[$n . $c] = $class;
128+
foreach ($namespace->getFunctions() as $f => $function) {
129+
$functions[$n . $f] = $function;
130130
}
131131
}
132132
return $functions;

0 commit comments

Comments
 (0)