From 3f5768863365f46762c9c51024fc69cc947a5915 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Paris?= Date: Wed, 18 Jan 2023 16:58:30 +0100 Subject: [PATCH] Adapt Redis::connect() signature to upstream changes See https://github.com/JetBrains/phpstorm-stubs/pull/1436 --- resources/functionMap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/functionMap.php b/resources/functionMap.php index 38cb2aa4b5..dead417334 100644 --- a/resources/functionMap.php +++ b/resources/functionMap.php @@ -9259,7 +9259,7 @@ 'Redis::client' => ['mixed', 'command'=>'string', 'arg='=>'string'], 'Redis::close' => ['bool'], 'Redis::config' => ['string', 'operation'=>'string', 'key'=>'string', 'value='=>'string'], -'Redis::connect' => ['bool', 'host'=>'string', 'port='=>'int', 'timeout='=>'float', 'reserved='=>'null', 'retry_interval='=>'?int', 'read_timeout='=>'float'], +'Redis::connect' => ['bool', 'host'=>'string', 'port='=>'int', 'timeout='=>'float', 'persistent_id='=>'string', 'retry_interval='=>'?int', 'read_timeout='=>'float'], 'Redis::dbSize' => ['int'], 'Redis::decr' => ['int', 'key'=>'string'], 'Redis::decrBy' => ['int', 'key'=>'string', 'value'=>'int'],