From 0e16dbabde469752c2f9db8ce086aa9c762d6693 Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Tue, 10 Jul 2018 20:55:14 +0200 Subject: [PATCH] Removed another unnecessary abs() call --- src/Composer/DependencyResolver/Solver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/DependencyResolver/Solver.php b/src/Composer/DependencyResolver/Solver.php index 0b8e983ed..6716de7d3 100644 --- a/src/Composer/DependencyResolver/Solver.php +++ b/src/Composer/DependencyResolver/Solver.php @@ -792,7 +792,7 @@ class Solver // foreach ($literals as $literal) { if ($literal <= 0) { - if (!$this->decisions->decidedInstall(abs($literal))) { + if (!$this->decisions->decidedInstall($literal)) { continue 2; // next rule } } else {