From 4ac9f445719a2ed8b522d4246938129c265bcfe4 Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Tue, 1 Sep 2020 16:57:24 +0200 Subject: [PATCH] Clear up PoolBuilder comment after code move --- src/Composer/DependencyResolver/PoolBuilder.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Composer/DependencyResolver/PoolBuilder.php b/src/Composer/DependencyResolver/PoolBuilder.php index 3c4547be7..6812a622d 100644 --- a/src/Composer/DependencyResolver/PoolBuilder.php +++ b/src/Composer/DependencyResolver/PoolBuilder.php @@ -265,8 +265,7 @@ class PoolBuilder $constraint = $rootRequires[$name]; } - // Not yet loaded or already marked for a reload, override the existing constraint - // (either it's a new one to load, or it has already been extended above) + // Not yet loaded or already marked for a reload, set the constraint to be loaded if (!isset($this->loadedPackages[$name])) { // Maybe it was already marked before but not loaded yet. In that case // we have to extend the constraint (we don't check if they are identical because