ThresholdRange::setInverted(): default to true

refs #8194
This commit is contained in:
Alexander A. Klimov 2016-04-27 11:30:23 +02:00 committed by Johannes Meyer
parent 7273959007
commit e006902254
1 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ class ThresholdRange
$rawRange = ltrim($rawRange);
if (substr($rawRange, 0, 1) === '@') {
$range->setInverted(true);
$range->setInverted();
$rawRange = substr($rawRange, 1);
}
@ -125,7 +125,7 @@ class ThresholdRange
*
* @return $this
*/
public function setInverted($inverted)
public function setInverted($inverted = true)
{
$this->inverted = $inverted;
return $this;