From 3e7e789e55f46699ef411ef394302a183d9ea743 Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Sun, 8 Aug 2021 21:54:19 +0300 Subject: [PATCH] Updated Cashier Statuses Helper contract --- src/Cashier/Helpers/Statuses.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Cashier/Helpers/Statuses.php b/src/Cashier/Helpers/Statuses.php index cadb581..0959ea3 100644 --- a/src/Cashier/Helpers/Statuses.php +++ b/src/Cashier/Helpers/Statuses.php @@ -11,17 +11,17 @@ interface Statuses { public function __construct(Model $model); - public function hasUnknown(string $status = null): bool; + public function hasUnknown($status = null): bool; - public function hasCreated(string $status = null): bool; + public function hasCreated($status = null): bool; - public function hasFailed(string $status = null): bool; + public function hasFailed($status = null): bool; - public function hasRefunded(string $status = null): bool; + public function hasRefunded($status = null): bool; - public function hasRefunding(string $status = null): bool; + public function hasRefunding($status = null): bool; - public function hasSuccess(string $status = null): bool; + public function hasSuccess($status = null): bool; - public function inProgress(string $status = null): bool; + public function inProgress($status = null): bool; }