Skip to content

Commit f5e1bad

Browse files
committed
Balance optional on some accounts.
1 parent e5c4160 commit f5e1bad

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Nexmo/Message/Response/Message.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,12 @@ public function __construct(Array $data, Receipt $receipt = null)
2121
'status',
2222
'message-id',
2323
'to',
24-
'remaining-balance',
2524
'message-price',
2625
'network'
2726
);
2827

2928
//default value
30-
$data = array_merge(array('client-ref' => null), $data);
29+
$data = array_merge(array('client-ref' => null, 'remaining-balance' => null), $data);
3130

3231
$return = parent::__construct($data);
3332

0 commit comments

Comments
 (0)