@@ -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 | } |
@@ -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 | } |
@@ -24,6 +24,6 @@ |
||
24 | 24 | 'params' => [ |
25 | 25 | $this->height |
26 | 26 | ] |
27 | - ] : []); |
|
27 | + ] : [ ]); |
|
28 | 28 | } |
29 | 29 | } |
@@ -26,7 +26,7 @@ |
||
26 | 26 | ); |
27 | 27 | } |
28 | 28 | |
29 | - array_walk($decoded->capabilities, function ($item) { |
|
29 | + array_walk($decoded->capabilities, function($item) { |
|
30 | 30 | if (!is_string($item)) { |
31 | 31 | throw new JsonFormatException("JSON property `capabilities` must only contain strings."); |
32 | 32 | } |
@@ -31,6 +31,6 @@ |
||
31 | 31 | 'params' => [ |
32 | 32 | $this->json |
33 | 33 | ] |
34 | - ] : []); |
|
34 | + ] : [ ]); |
|
35 | 35 | } |
36 | 36 | } |