From e02ac18cbccaed04bee22438dd03e92012fee8a8 Mon Sep 17 00:00:00 2001 From: Anton Karakulov Date: Tue, 26 Jul 2022 16:55:50 +0300 Subject: [PATCH] Update Memcached.php --- src/Stash/Driver/Sub/Memcached.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Stash/Driver/Sub/Memcached.php b/src/Stash/Driver/Sub/Memcached.php index 51b8beda..d8066cac 100644 --- a/src/Stash/Driver/Sub/Memcached.php +++ b/src/Stash/Driver/Sub/Memcached.php @@ -186,7 +186,7 @@ public function get($key) */ public function cas($key, $value) { - $token = null; + $token = 0; if (($rValue = $this->memcached->get($key, null, $token)) !== false) { return $rValue; }