From 7daa1b318fcba3c61d62810995b293f45a2a7270 Mon Sep 17 00:00:00 2001 From: Eugene Kopylov Date: Sun, 17 Nov 2024 18:47:33 +0300 Subject: [PATCH] fix cs --- .../jbuniversal/cart-elements/core/currency/currency.php | 4 +--- .../jbuniversal/cart-elements/core/element/element.php | 4 +--- .../jbuniversal/cart-elements/core/email/email.php | 4 +--- .../jbuniversal/cart-elements/core/price/price.php | 4 +--- .../jbuniversal/cart-elements/core/price/tmpl/_edit.php | 3 +-- .../jbuniversal/cart-elements/core/shipping/shipping.php | 4 +--- 6 files changed, 6 insertions(+), 17 deletions(-) diff --git a/src/packages/jbuniversal/jbuniversal/cart-elements/core/currency/currency.php b/src/packages/jbuniversal/jbuniversal/cart-elements/core/currency/currency.php index e1d98fbc..5415ea82 100644 --- a/src/packages/jbuniversal/jbuniversal/cart-elements/core/currency/currency.php +++ b/src/packages/jbuniversal/jbuniversal/cart-elements/core/currency/currency.php @@ -1,5 +1,4 @@ */ // no direct access defined('_JEXEC') or die('Restricted access'); - +use Joomla\String\StringHelper; /** * Class JBCartElementCurrency */ diff --git a/src/packages/jbuniversal/jbuniversal/cart-elements/core/element/element.php b/src/packages/jbuniversal/jbuniversal/cart-elements/core/element/element.php index c4db5796..f55389ea 100644 --- a/src/packages/jbuniversal/jbuniversal/cart-elements/core/element/element.php +++ b/src/packages/jbuniversal/jbuniversal/cart-elements/core/element/element.php @@ -1,5 +1,4 @@ */ // no direct access defined('_JEXEC') or die('Restricted access'); - +use Joomla\String\StringHelper; /** * Class Element */ diff --git a/src/packages/jbuniversal/jbuniversal/cart-elements/core/email/email.php b/src/packages/jbuniversal/jbuniversal/cart-elements/core/email/email.php index 1b5fd503..35e8e75c 100644 --- a/src/packages/jbuniversal/jbuniversal/cart-elements/core/email/email.php +++ b/src/packages/jbuniversal/jbuniversal/cart-elements/core/email/email.php @@ -1,5 +1,4 @@ */ // no direct access defined('_JEXEC') or die('Restricted access'); - +use Joomla\String\StringHelper; /** * Class JBCartElementEmail */ diff --git a/src/packages/jbuniversal/jbuniversal/cart-elements/core/price/price.php b/src/packages/jbuniversal/jbuniversal/cart-elements/core/price/price.php index 32b7bd84..fed1476a 100644 --- a/src/packages/jbuniversal/jbuniversal/cart-elements/core/price/price.php +++ b/src/packages/jbuniversal/jbuniversal/cart-elements/core/price/price.php @@ -1,5 +1,4 @@ */ // no direct access defined('_JEXEC') or die('Restricted access'); - +use Joomla\String\StringHelper; /** * Class JBCartElementPrice * @since 2.2 diff --git a/src/packages/jbuniversal/jbuniversal/cart-elements/core/price/tmpl/_edit.php b/src/packages/jbuniversal/jbuniversal/cart-elements/core/price/tmpl/_edit.php index e1caf07c..4fe09709 100644 --- a/src/packages/jbuniversal/jbuniversal/cart-elements/core/price/tmpl/_edit.php +++ b/src/packages/jbuniversal/jbuniversal/cart-elements/core/price/tmpl/_edit.php @@ -1,5 +1,4 @@ */ // no direct access defined('_JEXEC') or die('Restricted access'); +use Joomla\String\StringHelper; if (($html === '' || $html === null) && (!$this->isCore())) { $html = $this->getJBPrice()->renderWarning('_warning.php', JText::_('JBZOO_PRICE_EDIT_ERROR_ADD_OPTIONS')); diff --git a/src/packages/jbuniversal/jbuniversal/cart-elements/core/shipping/shipping.php b/src/packages/jbuniversal/jbuniversal/cart-elements/core/shipping/shipping.php index dabc50f2..6a7b6cfd 100644 --- a/src/packages/jbuniversal/jbuniversal/cart-elements/core/shipping/shipping.php +++ b/src/packages/jbuniversal/jbuniversal/cart-elements/core/shipping/shipping.php @@ -1,5 +1,4 @@ */ // no direct access defined('_JEXEC') or die('Restricted access'); - +use Joomla\String\StringHelper; /** * Class JBCartElementShipping */