@@ -20,7 +20,7 @@ |
||
| 20 | 20 | 'jsonrpc' => Command::JSON_RPC_VERSION, |
| 21 | 21 | 'id' => Command::ID, |
| 22 | 22 | 'method' => self::METHOD, |
| 23 | - 'params' => [$this->zAddress] |
|
| 23 | + 'params' => [ $this->zAddress ] |
|
| 24 | 24 | ]; |
| 25 | 25 | } |
| 26 | 26 | } |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | 'jsonrpc' => Command::JSON_RPC_VERSION, |
| 21 | 21 | 'id' => Command::ID, |
| 22 | 22 | 'method' => self::METHOD, |
| 23 | - 'params' => [$this->address] |
|
| 23 | + 'params' => [ $this->address ] |
|
| 24 | 24 | ]; |
| 25 | 25 | } |
| 26 | 26 | } |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | public function execute(Command $command): ResponseInterface |
| 27 | 27 | { |
| 28 | 28 | return $this->httpClient->request('POST', $this->rpc->getAddress(), [ |
| 29 | - 'auth' => [$this->rpc->getUser(), $this->rpc->getPassword()], |
|
| 29 | + 'auth' => [ $this->rpc->getUser(), $this->rpc->getPassword() ], |
|
| 30 | 30 | 'json' => $command |
| 31 | 31 | ]); |
| 32 | 32 | } |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | 'jsonrpc' => Command::JSON_RPC_VERSION, |
| 21 | 21 | 'id' => Command::ID, |
| 22 | 22 | 'method' => self::METHOD, |
| 23 | - 'params' => [$this->command] |
|
| 23 | + 'params' => [ $this->command ] |
|
| 24 | 24 | ]; |
| 25 | 25 | } |
| 26 | 26 | } |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | 'jsonrpc' => Command::JSON_RPC_VERSION, |
| 23 | 23 | 'id' => Command::ID, |
| 24 | 24 | 'method' => self::METHOD, |
| 25 | - 'params' => array_merge([$this->generate], !is_null($this->limit) ? [$this->limit] : []) |
|
| 25 | + 'params' => array_merge([ $this->generate ], !is_null($this->limit) ? [ $this->limit ] : [ ]) |
|
| 26 | 26 | ]; |
| 27 | 27 | } |
| 28 | 28 | } |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | 'jsonrpc' => Command::JSON_RPC_VERSION, |
| 21 | 21 | 'id' => Command::ID, |
| 22 | 22 | 'method' => self::METHOD, |
| 23 | - 'params' => [$this->blocks] |
|
| 23 | + 'params' => [ $this->blocks ] |
|
| 24 | 24 | ]; |
| 25 | 25 | } |
| 26 | 26 | } |