Remove unecessary brackets
parent
7f9c5ffeef
commit
f193d61dfe
|
@ -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…
Reference in New Issue