Skip to content

Commit

Permalink
styleci added
Browse files Browse the repository at this point in the history
  • Loading branch information
hotrush committed Mar 27, 2017
1 parent 0141d0d commit b4e59b4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ private function getClient()
* @param $method
* @param $endpoint
* @param array $payload
*
* @return \React\Promise\Promise|\React\Promise\PromiseInterface
*/
private function sendRequest($method, $endpoint, array $payload = [])
Expand Down Expand Up @@ -120,7 +121,7 @@ private function sendRequest($method, $endpoint, array $payload = [])

});

$request->on('error', function($reason) use ($deferred) {
$request->on('error', function ($reason) use ($deferred) {
$deferred->reject($reason);
});

Expand Down Expand Up @@ -235,7 +236,7 @@ public function getConfig()

/**
* Update scrapoxy config.
*
*
* @doc http://scrapoxy.readthedocs.io/en/master/advanced/api/index.html#update-the-configuration
*
* @param array $config
Expand All @@ -249,7 +250,7 @@ public function updateConfig(array $config = [])

/**
* Get all instances.
*
*
* @doc http://scrapoxy.readthedocs.io/en/master/advanced/api/index.html#get-all-instances
*
* @return \React\Promise\PromiseInterface|static
Expand Down

0 comments on commit b4e59b4

Please sign in to comment.