Skip to content

Commit

Permalink
Adjust function type-hints to be more accurate
Browse files Browse the repository at this point in the history
  • Loading branch information
Xon committed Oct 26, 2023
1 parent 312926e commit 586696b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +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 array discard()
* @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()
Expand Down Expand Up @@ -163,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
{
Expand Down

0 comments on commit 586696b

Please sign in to comment.