diff --git a/Client.php b/Client.php index 0107191..227eab2 100755 --- a/Client.php +++ b/Client.php @@ -44,11 +44,12 @@ public function __construct($message, $code = 0, $exception = null) * Server/Connection: * @method Credis_Client pipeline() * @method Credis_Client multi() - * @method Credis_Client watch(string ...$keys) - * @method Credis_Client unwatch() + * @method Credis_Client|bool watch(string ...$keys) + * @method Credis_Client|bool unwatch() * @method array exec() - * @method string|Credis_Client flushAll() - * @method string|Credis_Client flushDb() + * @method bool discard() + * @method Credis_Client|bool flushAll() + * @method Credis_Client|bool flushDb() * @method array|Credis_Client info(string $section = null) * @method bool|array|Credis_Client config(string $setGet, string $key, string $value = null) * @method array|Credis_Client role() @@ -162,8 +163,8 @@ public function __construct($message, $code = 0, $exception = null) * * Scripting: * @method string|int|Credis_Client script(string $command, string $arg1 = null) - * @method string|int|array|bool|Credis_Client eval(string $script, array $keys = null, array $args = null) - * @method string|int|array|bool|Credis_Client evalSha(string $script, array $keys = null, array $args = null) + * @method string|int|array|bool|Credis_Client eval(string $script, array|string $keys = null, array|string $args = null) + * @method string|int|array|bool|Credis_Client evalSha(string $script, array|string $keys = null, array|string $args = null) */ class Credis_Client {