From 584ca0d9aa00fda66d028a08cfab99d5cf17f323 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Wed, 4 Oct 2023 20:28:10 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Foundation/Models/Order.php | 1 - .../2023_10_04_230611_add_payment_method_to_orders_table.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Foundation/Models/Order.php b/src/Foundation/Models/Order.php index 732c8add..40b0e760 100644 --- a/src/Foundation/Models/Order.php +++ b/src/Foundation/Models/Order.php @@ -122,7 +122,6 @@ public function paymentMethod(): BelongsTo public function getPaymentMethodId(): ?string { return $this->payment_method_id ? (string) $this->payment_method_id : null; - } public function total(): float diff --git a/src/Foundation/resources/database/migrations/2023_10_04_230611_add_payment_method_to_orders_table.php b/src/Foundation/resources/database/migrations/2023_10_04_230611_add_payment_method_to_orders_table.php index ea6287e0..e3f1cc5e 100644 --- a/src/Foundation/resources/database/migrations/2023_10_04_230611_add_payment_method_to_orders_table.php +++ b/src/Foundation/resources/database/migrations/2023_10_04_230611_add_payment_method_to_orders_table.php @@ -34,6 +34,6 @@ private function isSqlite(): bool ->getConnection() ->getPdo() ->getAttribute(PDO::ATTR_DRIVER_NAME) - ; + ; } };