@@ -21,8 +21,8 @@ |
||
21 | 21 | */ |
22 | 22 | public function __construct(string $hex, array $prevtxs, array $privateKeys, ?SigHashType $sigHashType) |
23 | 23 | { |
24 | - call_user_func_array(function (RawTransaction ...$t) {}, $prevtxs); |
|
25 | - call_user_func_array(function (string ...$keys) {}, $privateKeys); |
|
24 | + call_user_func_array(function(RawTransaction ...$t) {}, $prevtxs); |
|
25 | + call_user_func_array(function(string ...$keys) {}, $privateKeys); |
|
26 | 26 | |
27 | 27 | $this->hex = $hex; |
28 | 28 | $this->prevtxs = $prevtxs; |
@@ -16,7 +16,7 @@ |
||
16 | 16 | * @param int $minConf |
17 | 17 | * @param int $maxConf |
18 | 18 | */ |
19 | - public function __construct(array $addresses = [], int $minConf = 1, int $maxConf = 9999999) |
|
19 | + public function __construct(array $addresses = [ ], int $minConf = 1, int $maxConf = 9999999) |
|
20 | 20 | { |
21 | 21 | call_user_func_array(function(string ...$address) {}, $addresses); |
22 | 22 |
@@ -16,7 +16,7 @@ |
||
16 | 16 | */ |
17 | 17 | public function __construct(bool $unlock, array $transactions) |
18 | 18 | { |
19 | - call_user_func_array(function (Transaction ...$t) {}, $transactions); |
|
19 | + call_user_func_array(function(Transaction ...$t) {}, $transactions); |
|
20 | 20 | |
21 | 21 | $this->unlock = $unlock; |
22 | 22 | $this->transactions = $transactions; |
@@ -20,7 +20,7 @@ |
||
20 | 20 | * @param string $comment |
21 | 21 | * @param string[] $subtractFromAddresses |
22 | 22 | */ |
23 | - public function __construct(array $amounts, int $minConfig = 1, string $comment = '', array $subtractFromAddresses = []) |
|
23 | + public function __construct(array $amounts, int $minConfig = 1, string $comment = '', array $subtractFromAddresses = [ ]) |
|
24 | 24 | { |
25 | 25 | call_user_func_array(function(Amount ...$amounts) {}, $amounts); |
26 | 26 | call_user_func_array(function(string ...$addresses) {}, $subtractFromAddresses); |