@@ -16,8 +16,8 @@ discard block |
||
| 16 | 16 | */ |
| 17 | 17 | public function __construct(array $transactions, array $recipients) |
| 18 | 18 | { |
| 19 | - call_user_func_array(function (RawTransaction ...$t) {}, $transactions); |
|
| 20 | - call_user_func_array(function (Recipient ...$r) {}, $recipients); |
|
| 19 | + call_user_func_array(function(RawTransaction ...$t) {}, $transactions); |
|
| 20 | + call_user_func_array(function(Recipient ...$r) {}, $recipients); |
|
| 21 | 21 | |
| 22 | 22 | $this->transactions = $transactions; |
| 23 | 23 | $this->recipients = $recipients; |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | |
| 26 | 26 | public function jsonSerialize(): object |
| 27 | 27 | { |
| 28 | - $addresses = []; |
|
| 28 | + $addresses = [ ]; |
|
| 29 | 29 | |
| 30 | 30 | foreach ($this->recipients as $recipient) { |
| 31 | 31 | $addresses = array_merge($addresses, (array) $recipient->jsonSerialize()); |