@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | public function setDebug($debug) |
| 58 | 58 | { |
| 59 | 59 | $this->debug = $debug; |
| 60 | - if($debug){ |
|
| 60 | + if ($debug) { |
|
| 61 | 61 | $this->jsonRPCClient->getHttpClient()->withDebug(); |
| 62 | 62 | } |
| 63 | 63 | return $this; |
@@ -122,7 +122,7 @@ discard block |
||
| 122 | 122 | * @param $address |
| 123 | 123 | * @return mixed |
| 124 | 124 | */ |
| 125 | - public function dumpPrivateKey($address){ |
|
| 125 | + public function dumpPrivateKey($address) { |
|
| 126 | 126 | return $this->jsonRPCClient->execute("dumpprivkey", array($address)); |
| 127 | 127 | } |
| 128 | 128 | |
@@ -136,7 +136,7 @@ discard block |
||
| 136 | 136 | * @param bool $rescan |
| 137 | 137 | * @return mixed |
| 138 | 138 | */ |
| 139 | - public function importPrivateKey($privkey, $label="", $rescan=true){ |
|
| 139 | + public function importPrivateKey($privkey, $label = "", $rescan = true) { |
|
| 140 | 140 | return $this->jsonRPCClient->execute("importprivkey", array($privkey, $label, $rescan)); |
| 141 | 141 | } |
| 142 | 142 | |
@@ -426,7 +426,7 @@ discard block |
||
| 426 | 426 | * @param bool $open |
| 427 | 427 | * @return mixed |
| 428 | 428 | */ |
| 429 | - public function issue($address, $name, $qty, $units = 1, $nativeAmount = 0, $custom = null, $open=false) |
|
| 429 | + public function issue($address, $name, $qty, $units = 1, $nativeAmount = 0, $custom = null, $open = false) |
|
| 430 | 430 | { |
| 431 | 431 | $params = array($address, array('name'=>$name, 'open'=>$open), $qty, $units, $nativeAmount); |
| 432 | 432 | if (!is_null($custom)) { |
@@ -449,7 +449,7 @@ discard block |
||
| 449 | 449 | * @param null $custom |
| 450 | 450 | * @return mixed |
| 451 | 451 | */ |
| 452 | - public function issueMore($address, $asset, $qty, $nativeAmount=0, $custom = null){ |
|
| 452 | + public function issueMore($address, $asset, $qty, $nativeAmount = 0, $custom = null) { |
|
| 453 | 453 | $params = array($address, $asset, $qty, $nativeAmount); |
| 454 | 454 | if (!is_null($custom)) { |
| 455 | 455 | $params[] = $custom; |