Do not use typehint to avoid 32-bit issues

This commit is contained in:
Daniil Gentili 2020-09-12 00:21:42 +02:00
parent 16719ec28f
commit c5d12ac95d
2 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit 03fe872f15fb8ccdcf074e885217aac1862aea12
Subproject commit ef59cc0cb6723ebd600643faa50205065e8ee578

View File

@ -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');