改进memcached缓存驱动

This commit is contained in:
thinkphp
2016-07-25 13:47:44 +08:00
parent 34f7da0d83
commit 9cee80db6b

View File

@@ -116,7 +116,7 @@ class Memcached
*/
public function inc($name, $step = 1, $expire = null)
{
return $this->handler->increment($name, $step, $expire);
return $this->handler->increment($name, $step);
}
/**
@@ -129,7 +129,7 @@ class Memcached
*/
public function dec($name, $step = 1, $expire = null)
{
return $this->handler->decrement($name, $step, $expire);
return $this->handler->decrement($name, $step);
}
/**