@@ -34,6 +34,6 @@ |
||
34 | 34 | */ |
35 | 35 | public function toRequest() |
36 | 36 | { |
37 | - return new Request(null, MiningClient::SET_DIFFICULTY, [$this->difficulty]); |
|
37 | + return new Request(null, MiningClient::SET_DIFFICULTY, [ $this->difficulty ]); |
|
38 | 38 | } |
39 | 39 | } |
@@ -48,6 +48,6 @@ |
||
48 | 48 | return json_encode([ |
49 | 49 | 'id' => $this->id, |
50 | 50 | 'result' => $this->result |
51 | - ]) . "\n"; |
|
51 | + ])."\n"; |
|
52 | 52 | } |
53 | 53 | } |