mirror of
https://github.com/composer/composer
synced 2025-05-09 16:42:57 +00:00
Remove unecessary brackets
This commit is contained in:
parent
7f9c5ffeef
commit
f193d61dfe
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue