From c670e3839230c554d584360be8a9f849bc5bcc12 Mon Sep 17 00:00:00 2001 From: Nikita Kiselev Date: Mon, 1 Dec 2025 18:18:29 +0300 Subject: [PATCH] reformat: fix codestyle --- .../oc_telegram_shop/src/Handlers/ETLHandler.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/module/oc_telegram_shop/upload/oc_telegram_shop/src/Handlers/ETLHandler.php b/module/oc_telegram_shop/upload/oc_telegram_shop/src/Handlers/ETLHandler.php index 0461559..17ec542 100755 --- a/module/oc_telegram_shop/upload/oc_telegram_shop/src/Handlers/ETLHandler.php +++ b/module/oc_telegram_shop/upload/oc_telegram_shop/src/Handlers/ETLHandler.php @@ -105,10 +105,18 @@ class ETLHandler 'orders_count' => 'orders_count_total', 'created_at' => 'registered_at', new RawExpression( - '(SELECT MIN(date_added) FROM oc_order WHERE oc_order.customer_id = telecart_customers.oc_customer_id) AS first_order_date' + '( + SELECT MIN(date_added) + FROM oc_order + WHERE oc_order.customer_id = telecart_customers.oc_customer_id + ) AS first_order_date' ), new RawExpression( - '(SELECT MAX(date_added) FROM oc_order WHERE oc_order.customer_id = telecart_customers.oc_customer_id) AS last_order_date' + '( + SELECT MAX(date_added) + FROM oc_order + WHERE oc_order.customer_id = telecart_customers.oc_customer_id + ) AS last_order_date' ), new RawExpression( "COALESCE((