From a8d99c2a081b2794ffc4dbc776398493977eec6b Mon Sep 17 00:00:00 2001 From: Mozgito Date: Thu, 5 May 2022 10:20:15 +0300 Subject: [PATCH] empty product properties fix --- intaro.retailcrm/lib/icml/settingsservice.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/intaro.retailcrm/lib/icml/settingsservice.php b/intaro.retailcrm/lib/icml/settingsservice.php index 2b75c54c..be6d5265 100644 --- a/intaro.retailcrm/lib/icml/settingsservice.php +++ b/intaro.retailcrm/lib/icml/settingsservice.php @@ -585,9 +585,9 @@ class SettingsService /** * @param int $iblockId * - * @return array + * @return array|null */ - public function getProductProps(int $iblockId): array + public function getProductProps(int $iblockId): ?array { $propertiesProduct = null;