From a205365bf5945ec7dbed898fcaf24149f5e9cd94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maurice=20Preu=C3=9F?= Date: Thu, 29 Sep 2022 15:56:57 +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 a5d9645..ca2a1a6 100644 --- a/src/Accounts/Traits/HasBitinflowPaymentsWallet.php +++ b/src/Accounts/Traits/HasBitinflowPaymentsWallet.php @@ -34,7 +34,7 @@ trait HasBitinflowPaymentsWallet * @return mixed * @throws GuzzleException */ - private function asPaymentsUser(string $method, string $url, array $attributes = []): mixed + protected 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 */ - public function getPaymentsUser(): ?object + protected function getPaymentsUser(): ?object { if (is_null($this->paymentsUser)) { $this->paymentsUser = $this->asPaymentsUser('GET', 'user');