diff --git a/src/Memory.php b/src/Memory.php index 3c95087..3bc6858 100644 --- a/src/Memory.php +++ b/src/Memory.php @@ -117,9 +117,11 @@ class Memory { } } - public function flush(int $delay = 60) : bool + public function flush(?int $delay = 0) : bool { - return $this->_memcached->flush(); + return $this->_memcached->flush( + $delay + ); } private function _setKey(mixed $key) : string