diff --git a/src/Composer/DependencyResolver/DefaultPolicy.php b/src/Composer/DependencyResolver/DefaultPolicy.php index f931d9192..96f4feffe 100644 --- a/src/Composer/DependencyResolver/DefaultPolicy.php +++ b/src/Composer/DependencyResolver/DefaultPolicy.php @@ -45,7 +45,7 @@ class DefaultPolicy implements PolicyInterface continue; } - if ($candidate != $package) { + if ($candidate !== $package) { $packages[] = $candidate; } }