From f193d61dfe47e54fa6ac067020a75278b14f92e6 Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Mon, 21 May 2012 18:32:22 +0200 Subject: [PATCH] Remove unecessary brackets --- src/Composer/DependencyResolver/RuleWatchNode.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Composer/DependencyResolver/RuleWatchNode.php b/src/Composer/DependencyResolver/RuleWatchNode.php index 4bdeaade2..88856974f 100644 --- a/src/Composer/DependencyResolver/RuleWatchNode.php +++ b/src/Composer/DependencyResolver/RuleWatchNode.php @@ -37,8 +37,8 @@ class RuleWatchNode $literals = $rule->getLiterals(); - $this->watch1 = (count($literals) > 0) ? $literals[0] : 0; - $this->watch2 = (count($literals) > 1) ? $literals[1] : 0; + $this->watch1 = count($literals) > 0 ? $literals[0] : 0; + $this->watch2 = count($literals) > 1 ? $literals[1] : 0; } /**