@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | <?php |
| 112 | 112 | |
| 113 | 113 | $values = array_map( |
| 114 | - function ( PaymentLine $line ) { |
|
| 114 | + function( PaymentLine $line ) { |
|
| 115 | 115 | return $line->get_total_amount()->get_excluding_tax()->get_value(); |
| 116 | 116 | }, |
| 117 | 117 | $lines->get_array() |
@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | |
| 130 | 130 | if ( $payment->get_total_amount()->has_tax() ) { |
| 131 | 131 | $values = array_map( |
| 132 | - function ( PaymentLine $line ) { |
|
| 132 | + function( PaymentLine $line ) { |
|
| 133 | 133 | return $line->get_total_amount()->get_including_tax()->get_value(); |
| 134 | 134 | }, |
| 135 | 135 | $lines->get_array() |