1
0
mirror of https://github.com/danog/MadelineProto.git synced 2025-01-23 07:31:11 +01:00

I forgot how fun it is to edit on a phone

This commit is contained in:
Daniil Gentili 2023-07-20 10:52:53 +02:00
parent 0c03ad2121
commit 2a32bc5402

View File

@ -1682,7 +1682,7 @@ final class MTProto implements TLCallback, LoggerGetter
public function setReportPeers(int|string|array $userOrId): void
{
$this->reportDest = $this->sanitizeReportPeers($userOrId);
$this->admins = array_values(array_filter($this->reportDest, fn (int $v) $v > 0));
$this->admins = array_values(array_filter($this->reportDest, fn (int $v) => $v > 0));
}
private ?LocalMutex $reportMutex = null;
/**