Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit 4ede189

Browse files
committed
Fix BC
1 parent f05999b commit 4ede189

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/HttpClientRequestHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function post(string $uri, array $options): PromiseInterface
5656
* @param mixed $data
5757
* @return PromiseInterface
5858
*/
59-
private function processRequest(Request $request, $data = null): PromiseInterface
59+
public function processRequest(Request $request, $data = null): PromiseInterface
6060
{
6161
$deferred = new Deferred();
6262

src/HttpClientRequestHandlerAmp.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function post(string $uri, array $formFields): PromiseInterface
8686
* @return PromiseInterface
8787
* @throws \unreal4u\TelegramAPI\Exceptions\ClientException
8888
*/
89-
private function processRequest(Request $request)
89+
public function processRequest(Request $request)
9090
{
9191
return reactAdapt(\Amp\call(function () use ($request) {
9292
/** @var Response $response */

0 commit comments

Comments
 (0)