Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
larasmorningtrain authored and github-actions[bot] committed Jan 9, 2024
1 parent b5efa3b commit 6dbc7cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/WoocommerceEconomic.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ public static function registerGateway($gateways): array

public static function requireGateway(): void
{
require_once __DIR__ . '/woocommerce/WC_Gateway_Economic_Invoice.php';
require_once __DIR__.'/woocommerce/WC_Gateway_Economic_Invoice.php';
}
}
4 changes: 2 additions & 2 deletions src/woocommerce/OrderService.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ private static function getRecipient(\WC_Order $order, ?VatZone $vatZone): Recip
}

return Recipient::new(
name: $order->get_shipping_first_name() . ' ' . $order->get_shipping_last_name(),
name: $order->get_shipping_first_name().' '.$order->get_shipping_last_name(),
vatZone: $vatZone,
address: $order->get_shipping_address_1() . ' ' . $order->get_shipping_address_2(),
address: $order->get_shipping_address_1().' '.$order->get_shipping_address_2(),
zip: $order->get_shipping_postcode(),
city: $order->get_shipping_city(),
country: $order->get_shipping_country(),
Expand Down

0 comments on commit 6dbc7cf

Please sign in to comment.