Fix indent
This commit is contained in:
parent
29ceef6552
commit
b0b1841642
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This file is part of web3.php package.
|
* This file is part of web3.php package.
|
||||||
*
|
*
|
||||||
* (c) Kuan-Cheng,Lai <alk03073135@gmail.com>
|
* (c) Kuan-Cheng,Lai <alk03073135@gmail.com>
|
||||||
*
|
*
|
||||||
* @author Peter Lai <alk03073135@gmail.com>
|
* @author Peter Lai <alk03073135@gmail.com>
|
||||||
* @license MIT
|
* @license MIT
|
||||||
*/
|
*/
|
||||||
@ -24,14 +24,14 @@ class HttpRequestManager extends RequestManager implements IRequestManager
|
|||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* client
|
* client
|
||||||
*
|
*
|
||||||
* @var \GuzzleHttp
|
* @var \GuzzleHttp
|
||||||
*/
|
*/
|
||||||
protected $client;
|
protected $client;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* construct
|
* construct
|
||||||
*
|
*
|
||||||
* @param string $host
|
* @param string $host
|
||||||
* @param int $timeout
|
* @param int $timeout
|
||||||
* @return void
|
* @return void
|
||||||
@ -44,7 +44,7 @@ class HttpRequestManager extends RequestManager implements IRequestManager
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* sendPayload
|
* sendPayload
|
||||||
*
|
*
|
||||||
* @param string $payload
|
* @param string $payload
|
||||||
* @param callable $callback
|
* @param callable $callback
|
||||||
* @return void
|
* @return void
|
||||||
@ -64,9 +64,9 @@ class HttpRequestManager extends RequestManager implements IRequestManager
|
|||||||
'timeout' => $this->timeout,
|
'timeout' => $this->timeout,
|
||||||
'connect_timeout' => $this->timeout
|
'connect_timeout' => $this->timeout
|
||||||
]);
|
]);
|
||||||
/**
|
/**
|
||||||
* @var StreamInterface $stream;
|
* @var StreamInterface $stream ;
|
||||||
*/
|
*/
|
||||||
$stream = $res->getBody();
|
$stream = $res->getBody();
|
||||||
$json = json_decode($stream);
|
$json = json_decode($stream);
|
||||||
$stream->close();
|
$stream->close();
|
||||||
|
Loading…
Reference in New Issue
Block a user