From 3818f0b47b4aa3ca936459ea31e3186d3c81a99f Mon Sep 17 00:00:00 2001 From: Pedro Lima Date: Mon, 18 Nov 2019 08:04:07 -0200 Subject: [PATCH] small fix --- src/Core/Bank/Banking.php | 4 ++-- src/Core/Payment/Billet.php | 4 ++-- src/Core/Payment/Notification.php | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Core/Bank/Banking.php b/src/Core/Bank/Banking.php index 7363399..c076dda 100644 --- a/src/Core/Bank/Banking.php +++ b/src/Core/Bank/Banking.php @@ -14,7 +14,7 @@ class Banking extends Resource * Withdraw cash to the given bank account. * * @param string $transactionId Transaction ID to cancel. - * @return boolean + * @return array */ public function accounts() { @@ -33,7 +33,7 @@ public function accounts() * Withdraw cash to the given bank account. * * @param string $transactionId Transaction ID to cancel. - * @return boolean + * @return array */ public function withdraw(int $bank_account_id) { diff --git a/src/Core/Payment/Billet.php b/src/Core/Payment/Billet.php index d5c420b..0a4a3fe 100644 --- a/src/Core/Payment/Billet.php +++ b/src/Core/Payment/Billet.php @@ -16,7 +16,7 @@ class Billet extends Resource * Create a new billet. * * @param array $data Billet data. - * @return void + * @return array */ public function create(array $data = []) { @@ -36,7 +36,7 @@ public function create(array $data = []) * Cancel a billet with the given transaction ID. * * @param string $transactionId Transaction ID to cancel. - * @return void + * @return array */ public function cancel(string $transaction_id) { diff --git a/src/Core/Payment/Notification.php b/src/Core/Payment/Notification.php index 692fdb4..c4d1a94 100644 --- a/src/Core/Payment/Notification.php +++ b/src/Core/Payment/Notification.php @@ -12,7 +12,7 @@ class Notification extends Resource /** * Get notification response. * - * @return void + * @return array */ public function response(string $notificationId, string $transactionId) {