|
@@ 260-265 (lines=6) @@
|
| 257 |
|
|
| 258 |
|
$equalRule = reset($operandsByOperator[ EqualRule::operator ]); |
| 259 |
|
|
| 260 |
|
if ( ! empty($operandsByOperator[ BelowRule::operator ]) |
| 261 |
|
&& null === $equalRule->getValue() |
| 262 |
|
) { |
| 263 |
|
$this->operands = []; |
| 264 |
|
return $this; |
| 265 |
|
} |
| 266 |
|
|
| 267 |
|
if ( ! empty($operandsByOperator[ BelowRule::operator ]) |
| 268 |
|
&& $equalRule->getValue() >= reset($operandsByOperator[ BelowRule::operator ])->getMaximum() |
|
@@ 274-279 (lines=6) @@
|
| 271 |
|
return $this; |
| 272 |
|
} |
| 273 |
|
|
| 274 |
|
if ( ! empty($operandsByOperator[ AboveRule::operator ]) |
| 275 |
|
&& null === $equalRule->getValue() |
| 276 |
|
) { |
| 277 |
|
$this->operands = []; |
| 278 |
|
return $this; |
| 279 |
|
} |
| 280 |
|
|
| 281 |
|
if ( ! empty($operandsByOperator[ AboveRule::operator ]) |
| 282 |
|
&& $equalRule->getValue() <= reset($operandsByOperator[ AboveRule::operator ])->getMinimum() |