Skip to content

Commit a71dce2

Browse files
authored
Merge pull request #99 from localheinz/fix/name
Fix: Move argument to method call
2 parents b3bc3fe + a879def commit a71dce2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LaunchDarkly/GuzzleFeatureRequester.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function __construct($baseUri, $sdkKey, $options)
2929
$this->_logger = $options['logger'];
3030
$stack = HandlerStack::create();
3131
if (class_exists('Kevinrob\GuzzleCache\CacheMiddleware')) {
32-
$stack->push(new CacheMiddleware(new PublicCacheStrategy(isset($options['cache']) ? $options['cache'] : null), 'cache'));
32+
$stack->push(new CacheMiddleware(new PublicCacheStrategy(isset($options['cache']) ? $options['cache'] : null)), 'cache');
3333
} elseif (!$this->_loggedCacheNotice) {
3434
$this->_logger->info("GuzzleFeatureRequester is not using an HTTP cache because Kevinrob\GuzzleCache\CacheMiddleware was not installed");
3535
$this->_loggedCacheNotice = true;

0 commit comments

Comments
 (0)