8000 Synchronize `RelayProxy` signatures · symfony/symfony@436dba5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 436dba5

Browse files
Synchronize RelayProxy signatures
1 parent a8621e8 commit 436dba5

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/Symfony/Component/Cache/Traits/RelayProxy.php

Lines changed: 13 additions & 13 deletions
8000
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ public function dbsize(): \Relay\Relay|false|int
264264
return $this->initializeLazyObject()->dbsize(...\func_get_args());
265265
}
266266

267-
public function dump($key): \Relay\Relay|false|string
267+
public function dump($key): \Relay\Relay|false|null|string
268268
{
269269
return $this->initializeLazyObject()->dump(...\func_get_args());
270270
}
@@ -389,7 +389,7 @@ public function geoadd($key, $lng, $lat, $member, ...$other_triples_and_options)
389389
return $this->initializeLazyObject()->geoadd(...\func_get_args());
390390
}
391391

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

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

442-
public function getrange($key, $start, $end): \Relay\Relay|false|string
442+
public function getrange($key, $start, $end): mixed
443443
{
444444
return $this->initializeLazyObject()->getrange(...\func_get_args());
445445
}
@@ -524,7 +524,7 @@ public function pfadd($key, $elements): \Relay\Relay|false|int
524524
return $this->initializeLazyObject()->pfadd(...\func_get_args());
525525
}
526526

527-
public function pfcount($key): \Relay\Relay|false|int
527+
public function pfcount($key_or_keys): \Relay\Relay|false|int
528528
{
529529
return $this->initializeLazyObject()->pfcount(...\func_get_args());
530530
}
@@ -639,12 +639,12 @@ public function type($key): \Relay\Relay|bool|int|string
639639
return $this->initializeLazyObject()->type(...\func_get_args());
640640
}
641641

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

647-
public function blmove($srckey, $dstkey, $srcpos, $dstpos, $timeout): \Relay\Relay|false|null|string
647+
public function blmove($srckey, $dstkey, $srcpos, $dstpos, $timeout): mixed
648648
{
649649
return $this->initializeLazyObject()->blmove(...\func_get_args());
650650
}
@@ -804,7 +804,7 @@ public function hmget($hash, $members): \Relay\Relay|array|false
804804
return $this->initializeLazyObject()->hmget(...\func_get_args());
805805
}
806806

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

827-
public function hset($key, $mem, $val, ...$kvals): \Relay\Relay|false|int
827+
public function hset($key, ...$keys_and_vals): \Relay\Relay|false|int
828828
{
829829
return $this->initializeLazyObject()->hset(...\func_get_args());
830830
}
@@ -1094,7 +1094,7 @@ public function xack($key, $group, $ids): \Relay\Relay|false|int
10941094
return $this->initializeLazyObject()->xack(...\func_get_args());
10951095
}
10961096

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

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

1212-
public function zrevrank($key, $rank, $withscore = false): \Relay\Relay|array|false|int
1212+
public function zrevrank($key, $rank, $withscore = false): \Relay\Relay|array|false|int|null
12131213
{
12141214
return $this->initializeLazyObject()->zrevrank(...\func_get_args());
12151215
}
@@ -1269,7 +1269,7 @@ public function zmscore($key, ...$mems): \Relay\Relay|array|false
12691269
return $this->initializeLazyObject()->zmscore(...\func_get_args());
12701270
}
12711271

1272-
public function zscore($key, $member): \Relay\Relay|false|float
1272+
public function zscore($key, $member): \Relay\Relay|false|float|null
12731273
{
12741274
return $this->initializeLazyObject()->zscore(...\func_get_args());
12751275
}

0 commit comments

Comments
 (0)
0