| Conditions | 4 |
| Paths | 4 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 20 |
| Changes | 0 | ||
| 1 | <?php |
||
| 54 | public function isBetweenOrderBundle(int $value, bool $equal = true): bool |
||
| 55 | { |
||
| 56 | if ($equal) { |
||
| 57 | return |
||
| 58 | $value >= $this->minimum_order_bundle && |
||
| 59 | $value <= $this->maximum_order_bundle; |
||
| 60 | } |
||
| 61 | |||
| 62 | return |
||
| 63 | $value > $this->minimum_order_bundle && |
||
| 64 | $value < $this->maximum_order_bundle; |
||
| 65 | } |
||
| 67 |