@@ -237,7 +237,7 @@ |
||
237 | 237 | $invoice_item->pricePerUnit = $deliverable->pricePerUnit; |
238 | 238 | $invoice_item->deliverable = $deliverable->id; |
239 | 239 | //calculate price |
240 | - if ( $deliverable->invoiceByActualUnits |
|
240 | + if ($deliverable->invoiceByActualUnits |
|
241 | 241 | || $deliverable->plannedUnits == 0) { |
242 | 242 | $invoice_item->units = $hours; |
243 | 243 | } else { |
@@ -63,7 +63,7 @@ |
||
63 | 63 | /** |
64 | 64 | * Get the billing data for given contact if any. |
65 | 65 | */ |
66 | - private static function get_billing_data(string $dba_class, string|int $contact_id) : ?self |
|
66 | + private static function get_billing_data(string $dba_class, string | int $contact_id) : ?self |
|
67 | 67 | { |
68 | 68 | if ($contact_id == 0) { |
69 | 69 | return null; |