From 40b37ed498439b6c9db52de9202b84a1eec249f0 Mon Sep 17 00:00:00 2001 From: Alex Komarichev Date: Fri, 27 Sep 2024 12:51:27 +0300 Subject: [PATCH] Tests --- src/include/api/class-wc-retailcrm-proxy.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/include/api/class-wc-retailcrm-proxy.php b/src/include/api/class-wc-retailcrm-proxy.php index 1b00e31..4a8dab9 100644 --- a/src/include/api/class-wc-retailcrm-proxy.php +++ b/src/include/api/class-wc-retailcrm-proxy.php @@ -28,10 +28,7 @@ if (!class_exists('WC_Retailcrm_Proxy')) : $this->retailcrm = new WC_Retailcrm_Client_V5($api_url, $api_key); } - /** - * @return bool - */ - public function getCorporateEnabled(): bool + public function getCorporateEnabled(): ?bool { return $this->corporateEnabled; }