|
@@ 274-279 (lines=6) @@
|
| 271 |
|
return $this; |
| 272 |
|
} |
| 273 |
|
|
| 274 |
|
if ( ! empty($operandsByOperator[ BelowRule::operator ]) |
| 275 |
|
&& $equalRule->getValue() >= reset($operandsByOperator[ BelowRule::operator ])->getUpperLimit() |
| 276 |
|
) { |
| 277 |
|
$this->operands = []; |
| 278 |
|
return $this; |
| 279 |
|
} |
| 280 |
|
|
| 281 |
|
if ( ! empty($operandsByOperator[ AboveRule::operator ]) |
| 282 |
|
&& null === $equalRule->getValue() |
|
@@ 288-293 (lines=6) @@
|
| 285 |
|
return $this; |
| 286 |
|
} |
| 287 |
|
|
| 288 |
|
if ( ! empty($operandsByOperator[ AboveRule::operator ]) |
| 289 |
|
&& $equalRule->getValue() <= reset($operandsByOperator[ AboveRule::operator ])->getLowerLimit() |
| 290 |
|
) { |
| 291 |
|
$this->operands = []; |
| 292 |
|
return $this; |
| 293 |
|
} |
| 294 |
|
|
| 295 |
|
if ( ! empty($operandsByOperator[ NotEqualRule::operator ]) |
| 296 |
|
&& $equalRule->getValue() == reset($operandsByOperator[ NotEqualRule::operator ])->getValue() |
|
@@ 295-300 (lines=6) @@
|
| 292 |
|
return $this; |
| 293 |
|
} |
| 294 |
|
|
| 295 |
|
if ( ! empty($operandsByOperator[ NotEqualRule::operator ]) |
| 296 |
|
&& $equalRule->getValue() == reset($operandsByOperator[ NotEqualRule::operator ])->getValue() |
| 297 |
|
) { |
| 298 |
|
$this->operands = []; |
| 299 |
|
return $this; |
| 300 |
|
} |
| 301 |
|
|
| 302 |
|
if ( ! empty($operandsByOperator[ NotEqualRule::operator ]) |
| 303 |
|
&& null === $equalRule->getValue() |