Skip to content

Commit 7e0f8a4

Browse files
author
Iulian Masar
committed
fixed test
1 parent a4a3d22 commit 7e0f8a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MangoPay/ApiVirtualAccounts.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function GetAll($walletId, $pagination = null, $sorting = null)
4242
*/
4343
public function Deactivate($walletId, $virtualAccountId)
4444
{
45-
$empty_object = "";
45+
$empty_object = new VirtualAccount();
4646
return $this->SaveObject('virtual_account_deactivate', $empty_object, '\MangoPay\VirtualAccount', $walletId, $virtualAccountId);
4747
}
4848

0 commit comments

Comments
 (0)