From 5caef21b01e1dc598cbbc71c516d5148c1e611e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maurice=20Preu=C3=9F?= Date: Thu, 29 Sep 2022 16:22:14 +0200 Subject: [PATCH] Update HasBitinflowPaymentsWallet.php --- src/Accounts/Traits/HasBitinflowPaymentsWallet.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Accounts/Traits/HasBitinflowPaymentsWallet.php b/src/Accounts/Traits/HasBitinflowPaymentsWallet.php index ca2a1a6..8c3a8d5 100644 --- a/src/Accounts/Traits/HasBitinflowPaymentsWallet.php +++ b/src/Accounts/Traits/HasBitinflowPaymentsWallet.php @@ -34,7 +34,7 @@ trait HasBitinflowPaymentsWallet * @return mixed * @throws GuzzleException */ - protected function asPaymentsUser(string $method, string $url, array $attributes = []): mixed + public function asPaymentsUser(string $method, string $url, array $attributes = []): mixed { $client = new Client([ 'base_uri' => config('bitinflow-accounts.payments.base_url'), @@ -58,7 +58,7 @@ trait HasBitinflowPaymentsWallet * @return object|null * @throws GuzzleException */ - protected function getPaymentsUser(): ?object + public function getPaymentsUser(): ?object { if (is_null($this->paymentsUser)) { $this->paymentsUser = $this->asPaymentsUser('GET', 'user');