1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Fix bad iterator

This commit is contained in:
Matthew Brown 2018-02-19 17:01:45 -05:00
parent 7aeacebba4
commit 04a1583783

View File

@ -293,8 +293,8 @@ class Scanner
$this->file_storage_provider->cache->writeToCache($file_storage, $file_contents);
}
} else {
foreach ($file_storage->included_file_paths as $file_path) {
$this->codebase->scanner->queueFileForScanning($file_path);
foreach ($file_storage->included_file_paths as $include_file_path) {
$this->codebase->scanner->queueFileForScanning($include_file_path);
}
foreach ($file_storage->classlikes_in_file as $fq_classlike_name) {