mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
Clean up function map production slightly
There's no need to iterate over $fileInfos again while generating the class map
This commit is contained in:
parent
f458b16041
commit
d0897b3602
@ -3197,9 +3197,7 @@ foreach ($fileInfos as $fileInfo) {
|
||||
$aliasMap[$funcInfo->alias->__toString()] = $funcInfo;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
foreach ($fileInfos as $fileInfo) {
|
||||
foreach ($fileInfo->classInfos as $classInfo) {
|
||||
$classMap[$classInfo->name->__toString()] = $classInfo;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user