Skip to content

Commit d03019a

Browse files
merge from public after release
2 parents 5817116 + 9d4d17e commit d03019a

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to the LaunchDarkly PHP SDK will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).
44

5+
## [3.7.5] - 2021-03-01
6+
### Fixed:
7+
- `PHPRedis::featureRequester` was not recognizing the `phpredis_client` option. (Thanks, [riekelt](https://github.com/launchdarkly/php-server-sdk/pull/143)!)
8+
59
## [3.7.4] - 2021-01-07
610
### Fixed:
711
- Fixed a warning message which erroneously referred to the wrong method.

src/LaunchDarkly/Impl/Integrations/PHPRedisFeatureRequester.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function __construct($baseUri, $sdkKey, $options)
1919
$this->_prefix = isset($options['redis_prefix']) ? $options['redis_prefix'] : 'launchdarkly';
2020

2121
if (isset($this->_options['phpredis_client']) && $this->_options['phpredis_client'] instanceof Redis) {
22-
$this->_connection = $this->_options['phpredis_client'];
22+
$this->_redisInstance = $this->_options['phpredis_client'];
2323
} else {
2424
$this->_redisOptions = array(
2525
"timeout" => isset($options['redis_timeout']) ? $options['redis_timeout'] : 5,

src/LaunchDarkly/LDClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class LDClient
2121
* The current SDK version.
2222
* @var string
2323
*/
24-
const VERSION = '3.7.4';
24+
const VERSION = '3.7.5';
2525

2626
/** @var string */
2727
protected $_sdkKey;

0 commit comments

Comments
 (0)