diff --git a/src/LaunchDarkly/Impl/Integrations/PHPRedisFeatureRequester.php b/src/LaunchDarkly/Impl/Integrations/PHPRedisFeatureRequester.php index 3ac230bd..7bb92f3c 100644 --- a/src/LaunchDarkly/Impl/Integrations/PHPRedisFeatureRequester.php +++ b/src/LaunchDarkly/Impl/Integrations/PHPRedisFeatureRequester.php @@ -18,7 +18,7 @@ public function __construct($baseUri, $sdkKey, $options) $this->_prefix = isset($options['redis_prefix']) ? $options['redis_prefix'] : 'launchdarkly'; - if (isset($this->_options['phpredis_client']) && $this->_options['phpredis_client'] instanceof Redis) { + if (isset($this->_options['phpredis_client']) && $this->_options['phpredis_client'] instanceof \Redis) { $this->_redisInstance = $this->_options['phpredis_client']; } else { $this->_redisOptions = array( @@ -47,7 +47,7 @@ protected function readItemStringList($namespace) */ protected function getConnection() { - if ($this->_redisInstance instanceof Redis) { + if ($this->_redisInstance instanceof \Redis) { return $this->_redisInstance; }