From c5d12ac95dd3b366feb12291ed1ade0442d256f6 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sat, 12 Sep 2020 00:21:42 +0200 Subject: [PATCH] Do not use typehint to avoid 32-bit issues --- schemas | 2 +- src/danog/MadelineProto/VoIP/AuthKeyHandler.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/schemas b/schemas index 03fe872f..ef59cc0c 160000 --- a/schemas +++ b/schemas @@ -1 +1 @@ -Subproject commit 03fe872f15fb8ccdcf074e885217aac1862aea12 +Subproject commit ef59cc0cb6723ebd600643faa50205065e8ee578 diff --git a/src/danog/MadelineProto/VoIP/AuthKeyHandler.php b/src/danog/MadelineProto/VoIP/AuthKeyHandler.php index db23be2f..ed9f58c1 100644 --- a/src/danog/MadelineProto/VoIP/AuthKeyHandler.php +++ b/src/danog/MadelineProto/VoIP/AuthKeyHandler.php @@ -248,7 +248,7 @@ trait AuthKeyHandler * * @return integer */ - public function callStatus(int $id): int + public function callStatus($id): int { if (!\class_exists('\\danog\\MadelineProto\\VoIP')) { throw \danog\MadelineProto\Exception::extension('libtgvoip'); @@ -265,7 +265,7 @@ trait AuthKeyHandler * * @return array */ - public function getCall(int $call): array + public function getCall($call): array { if (!\class_exists('\\danog\\MadelineProto\\VoIP')) { throw \danog\MadelineProto\Exception::extension('libtgvoip');