Merge branch 'master' of github.com:danog/MadelineProto

This commit is contained in:
Daniil Gentili 2019-12-30 17:28:19 +00:00
commit 425ba50ba5

View File

@ -316,7 +316,7 @@ trait ResponseHandler
* *
* @return void * @return void
*/ */
public function handleReject(array &$request, \Throwable $data) public function handleReject(&$request, \Throwable $data)
{ {
if (isset($request['promise']) && \is_object($request['promise'])) { if (isset($request['promise']) && \is_object($request['promise'])) {
Loop::defer(function () use (&$request, $data) { Loop::defer(function () use (&$request, $data) {