Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 703d71b

Browse files
Fix typo
1 parent 677c9da commit 703d71b

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

Changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,7 @@ The main feature of this release is new Streams API implemented by
864864

865865
- 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))
866866
- Display ini entries in output of phpinfo [908ac4b3](https://www.github.com/phpredis/phpredis/commit/908ac4b3) ([Pavlo Yatsukhnenko](https://github.com/yatsukhnenko))
867-
- Persistant connections can be closed via close method + change reconnection
867+
- Persistent connections can be closed via close method + change reconnection
868868
logic [1d997873](https://www.github.com/phpredis/phpredis/commit/1d997873) ([Pavlo Yatsukhnenko](https://github.com/yatsukhnenko))
869869

870870
### Changed

package.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
725725
* Session module is required [58bd8cc8] (@remicollet)
726726
* Set default values for ini entries [e206ce9c] (Pavlo Yatsukhnenko)
727727
* Display ini entries in output of phpinfo [908ac4b3] (Pavlo Yatsukhnenko)
728-
* Persistant connections can be closed via close method + change reconnection logic [1d997873] (Pavlo Yatsukhnenko)
728+
* Persistent connections can be closed via close method + change reconnection logic [1d997873] (Pavlo Yatsukhnenko)
729729
* Documentation improvements (@mg, @elcheco, @lucascourot, @nolimitdev, Michael Grunder)
730730
</notes>
731731
</release>
@@ -815,7 +815,7 @@ http://pear.php.net/dtd/package-2.0.xsd">
815815
* Add tcp_keepalive option to redis sock [68c58513, 5101172a, 010336d5, 51e48729] (@git-hulk, Michael Grunder)
816816
* More robust GEORADIUS COUNT validation [f7edee5d] (Michael Grunder)
817817
* Add LZF compression (experimental) [e2c51251, 8cb2d5bd, 8657557] (Pavlo Yatsukhnenko)
818-
* Allow to use empty string as persistant_id [ec4fd1bd] (Pavlo Yatsukhnenko)
818+
* Allow to use empty string as persistent_id [ec4fd1bd] (Pavlo Yatsukhnenko)
819819
* Don't use convert_to_string in redis_hmget_cmd [99335d6] (Pavlo Yatsukhnenko)
820820
* Allow mixing MULTI and PIPELINE modes (experimental) [5874b0] (Pavlo Yatsukhnenko)
821821
* 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">
846846

847847
* Fix segfault when extending Redis class in PHP 5 [d23eff] (Pavlo Yatsukhnenko)
848848
* Fix RedisCluster constructor with PHP 7 strict scalar type [5c21d7] (Pavlo Yatsukhnenko)
849-
* Allow to use empty string as persistant_id [344de5] (Pavlo Yatsukhnenko)
849+
* Allow to use empty string as persistent_id [344de5] (Pavlo Yatsukhnenko)
850850
* Fix cluster_init_seeds. [db1347] (@adlagares)
851851
* Fix z_seeds may be a reference [42581a] (@janic716)
852852
* PHP >=7.3 uses zend_string for php_url elements [b566fb] (@fmk)

redis_cluster.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
class RedisCluster {
1010

11-
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);
11+
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);
1212

1313
public function _compress(string $value): string;
1414

redis_cluster_arginfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_RedisCluster___construct, 0, 0, 1)
66
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, seeds, IS_ARRAY, 0, "NULL")
77
ZEND_ARG_TYPE_MASK(0, timeout, MAY_BE_LONG|MAY_BE_DOUBLE, "0")
88
ZEND_ARG_TYPE_MASK(0, read_timeout, MAY_BE_LONG|MAY_BE_DOUBLE, "0")
9-
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, persistant, _IS_BOOL, 0, "false")
9+
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, persistent, _IS_BOOL, 0, "false")
1010
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, auth, IS_MIXED, 0, "NULL")
1111
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, context, IS_ARRAY, 0, "NULL")
1212
ZEND_END_ARG_INFO()

redis_cluster_legacy_arginfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_RedisCluster___construct, 0, 0, 1)
66
ZEND_ARG_INFO(0, seeds)
77
ZEND_ARG_INFO(0, timeout)
88
ZEND_ARG_INFO(0, read_timeout)
9-
ZEND_ARG_INFO(0, persistant)
9+
ZEND_ARG_INFO(0, persistent)
1010
ZEND_ARG_INFO(0, auth)
1111
ZEND_ARG_INFO(0, context)
1212
ZEND_END_ARG_INFO()

0 commit comments

Comments
 (0)