| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 3 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | 1 | public function __invoke(Load $a_load, Destination $a_destination, array $some_price_rules, float $net_benefits, float $previous_costs = 0) |
|
| 18 | { |
||
| 19 | 1 | $costs = $previous_costs + $this->applyCosts($a_load, $a_destination, $some_price_rules, $net_benefits, $previous_costs); |
|
| 20 | |||
| 21 | 1 | return $this->next($a_load, $a_destination, $some_price_rules, $net_benefits, $costs); |
|
| 22 | } |
||
| 23 | |||
| 35 | } |