From 89d4be1f2097635f0f28fd6b827be40148b25753 Mon Sep 17 00:00:00 2001 From: David Molina Cano <128705267+davidmolinacano@users.noreply.github.com> Date: Wed, 18 Dec 2024 16:46:48 +0100 Subject: [PATCH] Removed empty line to fulfill PrestaShop standards (#272) --- autoloader.php | 1 - src/Entity/UpdateOnSave.php | 1 - 2 files changed, 2 deletions(-) diff --git a/autoloader.php b/autoloader.php index 4b0d7ef..cdaabfa 100644 --- a/autoloader.php +++ b/autoloader.php @@ -18,7 +18,6 @@ class Autoloader { - /** * Registers the autoloader according to PrestaShop standards, which are PSR-12 standards. * More info at: https://www.php-fig.org/psr/psr-12/ diff --git a/src/Entity/UpdateOnSave.php b/src/Entity/UpdateOnSave.php index a697dda..913f213 100644 --- a/src/Entity/UpdateOnSave.php +++ b/src/Entity/UpdateOnSave.php @@ -176,7 +176,6 @@ public static function sendProductApi($products, $shopId, $idLang, $idCurrency, self::updateItemsApi($hashid, 'product', $payload); } - } elseif ('delete' === $action) { self::deleteItemsApi($hashid, 'product', $products); }