From ddf93fcf41b62a758adcac495f06810a6b3be4da Mon Sep 17 00:00:00 2001 From: Alexey Date: Wed, 24 Aug 2022 12:30:27 +0300 Subject: [PATCH] fix typo that causes to 'can\'t call method transform from null' --- src/Providers/HttpProvider.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Providers/HttpProvider.php b/src/Providers/HttpProvider.php index b99de556..f969d86f 100644 --- a/src/Providers/HttpProvider.php +++ b/src/Providers/HttpProvider.php @@ -109,7 +109,7 @@ public function execute($callback) return call_user_func($callback, null, $res); }; $this->requestManager->sendPayload('[' . implode(',', $this->batch) . ']', $proxy); - $this->methods[] = []; + $this->methods = []; $this->batch = []; } -} \ No newline at end of file +}