1
0
mirror of https://github.com/danog/MadelineProto.git synced 2025-01-22 18:51:13 +01:00

Make signatures consistent

This commit is contained in:
Daniil Gentili 2023-06-05 17:03:29 +02:00
parent 28a605c1f1
commit de59dd79d3
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -74,7 +74,7 @@ class RedisArray extends DriverArray
{
return 'va:'.$this->table.'*';
}
public function set(string|int $index, mixed $value): void
public function set(string|int $key, mixed $value): void
{
if ($this->hasCache($index) && $this->getCache($index) === $value) {
return;