Skip to content

Commit

Permalink
Updated Cashier Statuses Helper contract
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Helldar committed Aug 8, 2021
1 parent dc87724 commit 3e7e789
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/Cashier/Helpers/Statuses.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 3e7e789

Please sign in to comment.