Skip to content

Commit

Permalink
Fix BC
Browse files Browse the repository at this point in the history
  • Loading branch information
unreal4u committed Sep 9, 2017
1 parent f05999b commit 4ede189
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/HttpClientRequestHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function post(string $uri, array $options): PromiseInterface
* @param mixed $data
* @return PromiseInterface
*/
private function processRequest(Request $request, $data = null): PromiseInterface
public function processRequest(Request $request, $data = null): PromiseInterface
{
$deferred = new Deferred();

Expand Down
2 changes: 1 addition & 1 deletion src/HttpClientRequestHandlerAmp.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function post(string $uri, array $formFields): PromiseInterface
* @return PromiseInterface
* @throws \unreal4u\TelegramAPI\Exceptions\ClientException
*/
private function processRequest(Request $request)
public function processRequest(Request $request)
{
return reactAdapt(\Amp\call(function () use ($request) {
/** @var Response $response */
Expand Down

0 comments on commit 4ede189

Please sign in to comment.