diff --git a/src/danog/MadelineProto/MTProtoSession/ResponseHandler.php b/src/danog/MadelineProto/MTProtoSession/ResponseHandler.php index bcd5cb60..1268b469 100644 --- a/src/danog/MadelineProto/MTProtoSession/ResponseHandler.php +++ b/src/danog/MadelineProto/MTProtoSession/ResponseHandler.php @@ -316,7 +316,7 @@ trait ResponseHandler * * @return void */ - public function handleReject(array &$request, \Throwable $data) + public function handleReject(&$request, \Throwable $data) { if (isset($request['promise']) && \is_object($request['promise'])) { Loop::defer(function () use (&$request, $data) {