1
0
Fork 0

Fix memory leak issue (#459)

Closes #425
pull/483/merge v4.6.1
John Nguyen 2017-08-22 15:43:17 +10:00 committed by Felix Becker
parent 63bf43e40c
commit a4739430f8
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;
} }
} }