Skip to content

Synchronize RelayProxy signatures #58935

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
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
26 changes: 13 additions & 13 deletions src/Symfony/Component/Cache/Traits/RelayProxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ public function dbsize(): \Relay\Relay|false|int
return $this->initializeLazyObject()->dbsize(...\func_get_args());
}

public function dump($key): \Relay\Relay|false|string
public function dump($key): \Relay\Relay|false|null|string
{
return $this->initializeLazyObject()->dump(...\func_get_args());
}
Expand Down Expand Up @@ -389,7 +389,7 @@ public function geoadd($key, $lng, $lat, $member, ...$other_triples_and_options)
return $this->initializeLazyObject()->geoadd(...\func_get_args());
}

public function geodist($key, $src, $dst, $unit = null): \Relay\Relay|false|float
public function geodist($key, $src, $dst, $unit = null): \Relay\Relay|false|float|null
{
return $this->initializeLazyObject()->geodist(...\func_get_args());
}
Expand Down Expand Up @@ -419,7 +419,7 @@ public function georadius_ro($key, $lng, $lat, $radius, $unit, $options = []): m
return $this->initializeLazyObject()->georadius_ro(...\func_get_args());
}

public function geosearch($key, $position, $shape, $unit, $options = []): \Relay\Relay|array
public function geosearch($key, $position, $shape, $unit, $options = []): \Relay\Relay|array|false
{
return $this->initializeLazyObject()->geosearch(...\func_get_args());
}
Expand All @@ -439,7 +439,7 @@ public function getset($key, $value): mixed
return $this->initializeLazyObject()->getset(...\func_get_args());
}

public function getrange($key, $start, $end): \Relay\Relay|false|string
public function getrange($key, $start, $end): mixed
{
return $this->initializeLazyObject()->getrange(...\func_get_args());
}
Expand Down Expand Up @@ -524,7 +524,7 @@ public function pfadd($key, $elements): \Relay\Relay|false|int
return $this->initializeLazyObject()->pfadd(...\func_get_args());
}

public function pfcount($key): \Relay\Relay|false|int
public function pfcount($key_or_keys): \Relay\Relay|false|int
{
return $this->initializeLazyObject()->pfcount(...\func_get_args());
}
Expand Down Expand Up @@ -639,12 +639,12 @@ public function type($key): \Relay\Relay|bool|int|string
return $this->initializeLazyObject()->type(...\func_get_args());
}

public function lmove($srckey, $dstkey, $srcpos, $dstpos): \Relay\Relay|false|null|string
public function lmove($srckey, $dstkey, $srcpos, $dstpos): mixed
{
return $this->initializeLazyObject()->lmove(...\func_get_args());
}

public function blmove($srckey, $dstkey, $srcpos, $dstpos, $timeout): \Relay\Relay|false|null|string
public function blmove($srckey, $dstkey, $srcpos, $dstpos, $timeout): mixed
{
return $this->initializeLazyObject()->blmove(...\func_get_args());
}
Expand Down Expand Up @@ -804,7 +804,7 @@ public function hmget($hash, $members): \Relay\Relay|array|false
return $this->initializeLazyObject()->hmget(...\func_get_args());
}

public function hrandfield($hash, $options = null): \Relay\Relay|array|false|string
public function hrandfield($hash, $options = null): \Relay\Relay|array|false|null|string
{
return $this->initializeLazyObject()->hrandfield(...\func_get_args());
}
Expand All @@ -824,7 +824,7 @@ public function hsetnx($hash, $member, $value): \Relay\Relay|bool
return $this->initializeLazyObject()->hsetnx(...\func_get_args());
}

public function hset($key, $mem, $val, ...$kvals): \Relay\Relay|false|int
public function hset($key, ...$keys_and_vals): \Relay\Relay|false|int
{
return $this->initializeLazyObject()->hset(...\func_get_args());
}
Expand Down Expand Up @@ -1094,7 +1094,7 @@ public function xack($key, $group, $ids): \Relay\Relay|false|int
return $this->initializeLazyObject()->xack(...\func_get_args());
}

public function xadd($key, $id, $values, $maxlen = 0, $approx = false, $nomkstream = false): \Relay\Relay|false|string
public function xadd($key, $id, $values, $maxlen = 0, $approx = false, $nomkstream = false): \Relay\Relay|false|null|string
{
return $this->initializeLazyObject()->xadd(...\func_get_args());
}
Expand Down Expand Up @@ -1204,12 +1204,12 @@ public function zrevrangebylex($key, $max, $min, $offset = -1, $count = -1): \Re
return $this->initializeLazyObject()->zrevrangebylex(...\func_get_args());
}

public function zrank($key, $rank, $withscore = false): \Relay\Relay|array|false|int
public function zrank($key, $rank, $withscore = false): \Relay\Relay|array|false|int|null
{
return $this->initializeLazyObject()->zrank(...\func_get_args());
}

public function zrevrank($key, $rank, $withscore = false): \Relay\Relay|array|false|int
public function zrevrank($key, $rank, $withscore = false): \Relay\Relay|array|false|int|null
{
return $this->initializeLazyObject()->zrevrank(...\func_get_args());
}
Expand Down Expand Up @@ -1269,7 +1269,7 @@ public function zmscore($key, ...$mems): \Relay\Relay|array|false
return $this->initializeLazyObject()->zmscore(...\func_get_args());
}

public function zscore($key, $member): \Relay\Relay|false|float
public function zscore($key, $member): \Relay\Relay|false|float|null
{
return $this->initializeLazyObject()->zscore(...\func_get_args());
}
Expand Down
Loading