Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
|
4363cccc40 | ||
|
3610cec728 |
6 changed files with 22 additions and 13 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
## 2025-02-19 4.8.21
|
||||||
|
* Fix version of module
|
||||||
|
|
||||||
|
## 2025-02-18 4.8.20
|
||||||
|
* Add returned types for methods offsetExists, offsetSet, offsetUnset in WC_Retailcrm_Response
|
||||||
|
|
||||||
## 2025-02-04 4.8.19
|
## 2025-02-04 4.8.19
|
||||||
* Optimization of order unloading
|
* Optimization of order unloading
|
||||||
|
|
||||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
4.8.19
|
4.8.21
|
||||||
|
|
|
@ -120,9 +120,8 @@ class WC_Retailcrm_Response implements \ArrayAccess
|
||||||
* @param mixed $value value
|
* @param mixed $value value
|
||||||
*
|
*
|
||||||
* @throws \BadMethodCallException
|
* @throws \BadMethodCallException
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public function offsetSet($offset, $value)
|
public function offsetSet($offset, $value): void
|
||||||
{
|
{
|
||||||
throw new \BadMethodCallException('This activity not allowed');
|
throw new \BadMethodCallException('This activity not allowed');
|
||||||
}
|
}
|
||||||
|
@ -133,9 +132,8 @@ class WC_Retailcrm_Response implements \ArrayAccess
|
||||||
* @param mixed $offset offset
|
* @param mixed $offset offset
|
||||||
*
|
*
|
||||||
* @throws \BadMethodCallException
|
* @throws \BadMethodCallException
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public function offsetUnset($offset)
|
public function offsetUnset($offset): void
|
||||||
{
|
{
|
||||||
throw new \BadMethodCallException('This call not allowed');
|
throw new \BadMethodCallException('This call not allowed');
|
||||||
}
|
}
|
||||||
|
@ -145,9 +143,8 @@ class WC_Retailcrm_Response implements \ArrayAccess
|
||||||
*
|
*
|
||||||
* @param mixed $offset offset
|
* @param mixed $offset offset
|
||||||
*
|
*
|
||||||
* @return bool
|
|
||||||
*/
|
*/
|
||||||
public function offsetExists($offset)
|
public function offsetExists($offset): bool
|
||||||
{
|
{
|
||||||
return isset($this->response[$offset]);
|
return isset($this->response[$offset]);
|
||||||
}
|
}
|
||||||
|
@ -156,10 +153,10 @@ class WC_Retailcrm_Response implements \ArrayAccess
|
||||||
* Get offset
|
* Get offset
|
||||||
*
|
*
|
||||||
* @param mixed $offset offset
|
* @param mixed $offset offset
|
||||||
*
|
* @return mixed
|
||||||
* @throws \InvalidArgumentException
|
* @throws \InvalidArgumentException
|
||||||
*
|
*
|
||||||
* @return mixed
|
* TODO PHP < 8.0 не поддерживает тип mixed. Оператор | для перечисления типов также не поддерживается.
|
||||||
*/
|
*/
|
||||||
public function offsetGet($offset)
|
public function offsetGet($offset)
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,7 +5,7 @@ Tags: Интеграция, Simla.com, simla
|
||||||
Requires PHP: 7.1
|
Requires PHP: 7.1
|
||||||
Requires at least: 5.3
|
Requires at least: 5.3
|
||||||
Tested up to: 6.5
|
Tested up to: 6.5
|
||||||
Stable tag: 4.8.19
|
Stable tag: 4.8.21
|
||||||
License: GPLv1 or later
|
License: GPLv1 or later
|
||||||
License URI: http://www.gnu.org/licenses/gpl-1.0.html
|
License URI: http://www.gnu.org/licenses/gpl-1.0.html
|
||||||
|
|
||||||
|
@ -82,6 +82,12 @@ Asegúrate de tener una clave API específica para cada tienda. Las siguientes i
|
||||||
|
|
||||||
|
|
||||||
== Changelog ==
|
== Changelog ==
|
||||||
|
= 4.8.21 =
|
||||||
|
* Fix version of module
|
||||||
|
|
||||||
|
= 4.8.20 =
|
||||||
|
* Add returned types for methods offsetExists, offsetSet, offsetUnset in WC_Retailcrm_Response
|
||||||
|
|
||||||
= 4.8.19 =
|
= 4.8.19 =
|
||||||
* Optimization of order unloading
|
* Optimization of order unloading
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* Description: Integration plugin for WooCommerce & Simla.com
|
* Description: Integration plugin for WooCommerce & Simla.com
|
||||||
* Author: RetailDriver LLC
|
* Author: RetailDriver LLC
|
||||||
* Author URI: http://retailcrm.pro/
|
* Author URI: http://retailcrm.pro/
|
||||||
* Version: 4.8.19
|
* Version: 4.8.21
|
||||||
* Tested up to: 6.5
|
* Tested up to: 6.5
|
||||||
* Requires Plugins: woocommerce
|
* Requires Plugins: woocommerce
|
||||||
* WC requires at least: 5.4
|
* WC requires at least: 5.4
|
||||||
|
@ -27,7 +27,7 @@ if (!class_exists( 'WC_Integration_Retailcrm')) :
|
||||||
class WC_Integration_Retailcrm {
|
class WC_Integration_Retailcrm {
|
||||||
const WOOCOMMERCE_SLUG = 'woocommerce';
|
const WOOCOMMERCE_SLUG = 'woocommerce';
|
||||||
const WOOCOMMERCE_PLUGIN_PATH = 'woocommerce/woocommerce.php';
|
const WOOCOMMERCE_PLUGIN_PATH = 'woocommerce/woocommerce.php';
|
||||||
const MODULE_VERSION = '4.8.19';
|
const MODULE_VERSION = '4.8.21';
|
||||||
|
|
||||||
private static $instance;
|
private static $instance;
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @link https://wordpress.org/plugins/woo-retailcrm/
|
* @link https://wordpress.org/plugins/woo-retailcrm/
|
||||||
*
|
*
|
||||||
* @version 4.8.19
|
* @version 4.8.21
|
||||||
*
|
*
|
||||||
* @package RetailCRM
|
* @package RetailCRM
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue