mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-26 17:04:39 +01:00
Bump for psalm
This commit is contained in:
parent
5d4c717031
commit
c163bd7abf
@ -933,6 +933,7 @@ trait PeerHandler
|
||||
}
|
||||
}
|
||||
sort($ids, SORT_NUMERIC);
|
||||
/** @psalm-suppress MixedArgumentTypeCoercion Typechecks are done inside */
|
||||
$gres['hash'] = Tools::genVectorHash($ids);
|
||||
$this->channelParticipants[$this->participantsKey($channel, $filter, $q, $offset, $limit)] = $gres;
|
||||
}
|
||||
|
@ -443,6 +443,7 @@ final class TL implements TLInterface
|
||||
return substr($object, 1);
|
||||
}
|
||||
if (\is_array($object) && $type['name'] === 'hash') {
|
||||
/** @psalm-suppress MixedArgumentTypeCoercion Typechecks are done inside */
|
||||
return Tools::genVectorHash($object);
|
||||
}
|
||||
if (\is_array($object) && \count($object) === 2) {
|
||||
|
Loading…
Reference in New Issue
Block a user