Completed
Branch master (1669a9)
by Derek Stephen
07:34
created
Category
src/Bitcoin/Api/AbstractApi.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
         $host = isset($config['host']) ? $config['host'] : '127.0.0.1';
37 37
         $port = isset($config['port']) ? $config['port'] : '8332';
38 38
         $this->config = $config;
39
-        $this->host = $protocol . '://' . $host . ':' . $port;
39
+        $this->host = $protocol.'://'.$host.':'.$port;
40 40
         $this->client = new Client(['base_uri' => $this->host]);
41 41
         return $this;
42 42
     }
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      * @param array $params
55 55
      * @return mixed
56 56
      */
57
-    public function send($uri, $params = [])
57
+    public function send($uri,$params = [])
58 58
     {
59 59
         /** @var \GuzzleHttp\Psr7\Response $response  */
60 60
         $response = $this->getClient()->post('/',[
Please login to merge, or discard this patch.
src/Bitcoin/Api/Blockchain.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@
 block discarded – undo
165 165
      * argument; if that isn’t set, the default is 288
166 166
      * @return mixed
167 167
      */
168
-    public function verifyChain($check_level, $num_blocks)
168
+    public function verifyChain($check_level,$num_blocks)
169 169
     {
170 170
         return $this->send('verifychain',[$check_level,$num_blocks]);
171 171
     }
Please login to merge, or discard this patch.
src/Bitcoin/Api/Mining.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
      * @param array $params see wiki for details
23 23
      * @return mixed
24 24
      */
25
-    public function getBlockTemplate(array $params = ['capabilities' => ['coinbasetxn', 'workid', 'coinbase/append']])
25
+    public function getBlockTemplate(array $params = ['capabilities' => ['coinbasetxn','workid','coinbase/append']])
26 26
     {
27 27
         return $this->send('getblocktemplate',[$params]);
28 28
     }
Please login to merge, or discard this patch.
src/Bitcoin/Api/Wallet.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -315,7 +315,7 @@  discard block
 block discarded – undo
315 315
      * (the default), treat watch-only addresses as if they didn’t belong to this wallet
316 316
      * @return mixed
317 317
      */
318
-    public function listAccounts($confirmations = 1, $inc_watch_only = false)
318
+    public function listAccounts($confirmations = 1,$inc_watch_only = false)
319 319
     {
320 320
         return $this->send('listaccounts',[$confirmations,$inc_watch_only]);
321 321
     }
@@ -563,7 +563,7 @@  discard block
 block discarded – undo
563 563
      * Default is no comment
564 564
      * @return mixed
565 565
      */
566
-    public function sendToAddress($to,$amount,$comment = '', $comment_to = '')
566
+    public function sendToAddress($to,$amount,$comment = '',$comment_to = '')
567 567
     {
568 568
         return $this->send('sendtoaddress',[$to,$amount,$comment,$comment_to]);
569 569
     }
Please login to merge, or discard this patch.
src/Bitcoin/Api/Utility.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
      * extra whitespace)
88 88
      * @return mixed
89 89
      */
90
-    public function verifyMessage($address, $signature, $message)
90
+    public function verifyMessage($address,$signature,$message)
91 91
     {
92 92
         return $this->send('verifymessage',[$address,$signature,$message]);
93 93
     }
Please login to merge, or discard this patch.