mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02: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
1 changed files with 0 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue