We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70647be commit 212b301Copy full SHA for 212b301
setup/src/Magento/Setup/Module/Di/Code/Reader/ClassesScanner.php
@@ -85,10 +85,8 @@ public function getList($path)
85
$isGeneration = $this->isGeneration($realPath);
86
87
// Generation folders should not have their results cached since they may actually change during compile
88
- if (!$isGeneration) {
89
- if (isset($this->fileResults[$realPath])) {
90
- return $this->fileResults[$realPath];
91
- }
+ if (!$isGeneration && isset($this->fileResults[$realPath])) {
+ return $this->fileResults[$realPath];
92
}
93
if (!(bool)$realPath) {
94
throw new FileSystemException(new \Magento\Framework\Phrase('Invalid path: %1', [$path]));
0 commit comments