From 8de6ea593653f5b27f5edcbc82af61cbd10f7685 Mon Sep 17 00:00:00 2001 From: Omni Adams Date: Mon, 3 Jun 2019 16:33:42 -0500 Subject: [PATCH] Add missing dollar sign causing ErrorException ErrorException: Use of undefined constant values - assumed 'values' --- src/LaunchDarkly/Impl/Integrations/FeatureRequesterBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LaunchDarkly/Impl/Integrations/FeatureRequesterBase.php b/src/LaunchDarkly/Impl/Integrations/FeatureRequesterBase.php index 805302674..e6cb86832 100644 --- a/src/LaunchDarkly/Impl/Integrations/FeatureRequesterBase.php +++ b/src/LaunchDarkly/Impl/Integrations/FeatureRequesterBase.php @@ -160,7 +160,7 @@ protected function getJsonItemList($namespace) $values = array(); } if ($this->_cache) { - $this->_cache->putCachedString($cacheKey, json_encode(values)); + $this->_cache->putCachedString($cacheKey, json_encode($values)); } } foreach ($values as $i => $s) {