1
0
Fork 0
John Nguyen 2017-08-14 10:38:23 +10:00
parent 63bf43e40c
commit 108fb37c46
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ function getFqnsFromType($type): array
} }
if ($type instanceof Types\Compound) { if ($type instanceof Types\Compound) {
for ($i = 0; $t = $type->get($i); $i++) { for ($i = 0; $t = $type->get($i); $i++) {
foreach (getFqnsFromType($type) as $fqn) { foreach (getFqnsFromType($t) as $fqn) {
$fqns[] = $fqn; $fqns[] = $fqn;
} }
} }