Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions src/Redis.php
Original file line number Diff line number Diff line change
Expand Up @@ -2590,23 +2590,30 @@ public function bitOp($operation, $retKey, $key1, ...$otherKeys)
/**
* Removes all entries from the current database.
*
* @param bool $async
*
* @return bool Always TRUE
*
* @since phpredis 4.1 The $async option was added
* @link https://redis.io/commands/flushdb
* @example $redis->flushDB();
*/
public function flushDB()
public function flushDB($async)
{
}

/**
* Removes all entries from all databases.
*
* @param bool $async
*
* @return bool Always TRUE
*
* @since phpredis 4.1 The $async option was added
* @link https://redis.io/commands/flushall
* @example $redis->flushAll();
*/
public function flushAll()
public function flushAll($async)
{
}

Expand Down