From 824369975a86c3efb2f370d539619ce8c7bcd3c6 Mon Sep 17 00:00:00 2001 From: Tim Oladoyinbo Date: Sat, 18 May 2024 13:14:26 +0100 Subject: [PATCH] customer return type fix --- src/Traits/ManagesCustomer.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Traits/ManagesCustomer.php b/src/Traits/ManagesCustomer.php index 805991f..85b2e43 100644 --- a/src/Traits/ManagesCustomer.php +++ b/src/Traits/ManagesCustomer.php @@ -115,10 +115,9 @@ public function updatePaystackCustomer(array $options = []) * Get the Paystack customer instance for the current user or create one. * * @param array $options - * @return \Digikraaft\Paystack\Customer * @throws \Digikraaft\PaystackSubscription\Exceptions\InvalidCustomer|CustomerAlreadyExist */ - public function createOrGetPaystackCustomer(array $options = []): PaystackCustomer + public function createOrGetPaystackCustomer(array $options = []) { if ($this->hasPaystackId()) { return $this->asPaystackCustomer();