diff --git a/src/LaunchDarkly/GuzzleFeatureRequester.php b/src/LaunchDarkly/GuzzleFeatureRequester.php index 53dcd2c62..0c06bdd49 100644 --- a/src/LaunchDarkly/GuzzleFeatureRequester.php +++ b/src/LaunchDarkly/GuzzleFeatureRequester.php @@ -29,7 +29,7 @@ public function __construct($baseUri, $sdkKey, $options) $this->_logger = $options['logger']; $stack = HandlerStack::create(); if (class_exists('Kevinrob\GuzzleCache\CacheMiddleware')) { - $stack->push(new CacheMiddleware(new PublicCacheStrategy(isset($options['cache']) ? $options['cache'] : null), 'cache')); + $stack->push(new CacheMiddleware(new PublicCacheStrategy(isset($options['cache']) ? $options['cache'] : null)), 'cache'); } elseif (!$this->_loggedCacheNotice) { $this->_logger->info("GuzzleFeatureRequester is not using an HTTP cache because Kevinrob\GuzzleCache\CacheMiddleware was not installed"); $this->_loggedCacheNotice = true;