Skip to content

Commit

Permalink
Update Memcached.php
Browse files Browse the repository at this point in the history
  • Loading branch information
brutto authored Jul 26, 2022
1 parent 70767dc commit e02ac18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Stash/Driver/Sub/Memcached.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit e02ac18

Please sign in to comment.