Skip to content

Commit 407246a

Browse files
committed
merged branch mvrhov/patch-1 (PR #4975)
This PR was merged into the master branch. Discussion ---------- Classes should be removed only when adaptive is specified This fixes a regression introduced in refactoring done on July 3rd. Commits ------- 92fbb0b Classes should be removed only when adaptive is specified
2 parents 3841d1c + 92fbb0b commit 407246a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/ClassLoader/ClassCollectionLoader.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public static function load($classes, $cacheDir, $name, $autoReload, $adaptive =
9696
$files = array();
9797
$content = '';
9898
foreach (self::getOrderedClasses($classes) as $class) {
99-
if (in_array($class->getName(), $declared)) {
99+
if ($adaptive && in_array($class->getName(), $declared)) {
100100
continue;
101101
}
102102

0 commit comments

Comments
 (0)