Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Grekas <nicolas.grekas@gmail.com>2022-08-16 19:06:47 +0300
committerNicolas Grekas <nicolas.grekas@gmail.com>2022-08-16 19:06:47 +0300
commit703d71b530a5e971a50cf1d5818cddcd77e184fa (patch)
treef2e92b34a82dd475df8e9546a4209756c774e75e
parent677c9da3cbff53b74f7b26ca7dcbdf7e37e1da04 (diff)
Fix typo
-rw-r--r--Changelog.md2
-rw-r--r--package.xml6
-rw-r--r--redis_cluster.stub.php2
-rw-r--r--redis_cluster_arginfo.h2
-rw-r--r--redis_cluster_legacy_arginfo.h2
5 files changed, 7 insertions, 7 deletions
diff --git a/Changelog.md b/Changelog.md
index 90c59af8..2b9cf9be 100644
--- a/Changelog.md
+++ b/Changelog.md
@@ -864,7 +864,7 @@ The main feature of this release is new Streams API implemented by
- Streams API [2c9e0572](https://www.github.com/phpredis/phpredis/commit/2c9e0572), [0b97ec37](https://www.github.com/phpredis/phpredis/commit/0b97ec37) ([Michael Grunder](https://github.com/michael-grunder))
- Display ini entries in output of phpinfo [908ac4b3](https://www.github.com/phpredis/phpredis/commit/908ac4b3) ([Pavlo Yatsukhnenko](https://github.com/yatsukhnenko))
-- Persistant connections can be closed via close method + change reconnection
+- Persistent connections can be closed via close method + change reconnection
logic [1d997873](https://www.github.com/phpredis/phpredis/commit/1d997873) ([Pavlo Yatsukhnenko](https://github.com/yatsukhnenko))
### Changed
diff --git a/package.xml b/package.xml
index 2c37887c..91163e6d 100644
--- a/package.xml
+++ b/package.xml
@@ -725,7 +725,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
* Session module is required [58bd8cc8] (@remicollet)
* Set default values for ini entries [e206ce9c] (Pavlo Yatsukhnenko)
* Display ini entries in output of phpinfo [908ac4b3] (Pavlo Yatsukhnenko)
- * Persistant connections can be closed via close method + change reconnection logic [1d997873] (Pavlo Yatsukhnenko)
+ * Persistent connections can be closed via close method + change reconnection logic [1d997873] (Pavlo Yatsukhnenko)
* Documentation improvements (@mg, @elcheco, @lucascourot, @nolimitdev, Michael Grunder)
</notes>
</release>
@@ -815,7 +815,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
* Add tcp_keepalive option to redis sock [68c58513, 5101172a, 010336d5, 51e48729] (@git-hulk, Michael Grunder)
* More robust GEORADIUS COUNT validation [f7edee5d] (Michael Grunder)
* Add LZF compression (experimental) [e2c51251, 8cb2d5bd, 8657557] (Pavlo Yatsukhnenko)
- * Allow to use empty string as persistant_id [ec4fd1bd] (Pavlo Yatsukhnenko)
+ * Allow to use empty string as persistent_id [ec4fd1bd] (Pavlo Yatsukhnenko)
* Don't use convert_to_string in redis_hmget_cmd [99335d6] (Pavlo Yatsukhnenko)
* Allow mixing MULTI and PIPELINE modes (experimental) [5874b0] (Pavlo Yatsukhnenko)
* PHP >=7.3.0 uses zend_string to store `php_url` elements [b566fb44] (@fmk)
@@ -846,7 +846,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
* Fix segfault when extending Redis class in PHP 5 [d23eff] (Pavlo Yatsukhnenko)
* Fix RedisCluster constructor with PHP 7 strict scalar type [5c21d7] (Pavlo Yatsukhnenko)
- * Allow to use empty string as persistant_id [344de5] (Pavlo Yatsukhnenko)
+ * Allow to use empty string as persistent_id [344de5] (Pavlo Yatsukhnenko)
* Fix cluster_init_seeds. [db1347] (@adlagares)
* Fix z_seeds may be a reference [42581a] (@janic716)
* PHP >=7.3 uses zend_string for php_url elements [b566fb] (@fmk)
diff --git a/redis_cluster.stub.php b/redis_cluster.stub.php
index 80461abc..ed0a8293 100644
--- a/redis_cluster.stub.php
+++ b/redis_cluster.stub.php
@@ -8,7 +8,7 @@
class RedisCluster {
- public function __construct(string|null $name, array $seeds = NULL, int|float $timeout = 0, int|float $read_timeout = 0, bool $persistant = false, #[\SensitiveParameter] mixed $auth = NULL, array $context = NULL);
+ public function __construct(string|null $name, array $seeds = NULL, int|float $timeout = 0, int|float $read_timeout = 0, bool $persistent = false, #[\SensitiveParameter] mixed $auth = NULL, array $context = NULL);
public function _compress(string $value): string;
diff --git a/redis_cluster_arginfo.h b/redis_cluster_arginfo.h
index 189ff765..ca606b3c 100644
--- a/redis_cluster_arginfo.h
+++ b/redis_cluster_arginfo.h
@@ -6,7 +6,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_RedisCluster___construct, 0, 0, 1)
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, seeds, IS_ARRAY, 0, "NULL")
ZEND_ARG_TYPE_MASK(0, timeout, MAY_BE_LONG|MAY_BE_DOUBLE, "0")
ZEND_ARG_TYPE_MASK(0, read_timeout, MAY_BE_LONG|MAY_BE_DOUBLE, "0")
- ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, persistant, _IS_BOOL, 0, "false")
+ ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, persistent, _IS_BOOL, 0, "false")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, auth, IS_MIXED, 0, "NULL")
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, context, IS_ARRAY, 0, "NULL")
ZEND_END_ARG_INFO()
diff --git a/redis_cluster_legacy_arginfo.h b/redis_cluster_legacy_arginfo.h
index 0a5d4daa..63ebcd73 100644
--- a/redis_cluster_legacy_arginfo.h
+++ b/redis_cluster_legacy_arginfo.h
@@ -6,7 +6,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_RedisCluster___construct, 0, 0, 1)
ZEND_ARG_INFO(0, seeds)
ZEND_ARG_INFO(0, timeout)
ZEND_ARG_INFO(0, read_timeout)
- ZEND_ARG_INFO(0, persistant)
+ ZEND_ARG_INFO(0, persistent)
ZEND_ARG_INFO(0, auth)
ZEND_ARG_INFO(0, context)
ZEND_END_ARG_INFO()