Skip to content

Commit

Permalink
fix: remove never return type
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenpaauw committed Apr 2, 2024
1 parent a248bb1 commit 592f54b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Plan.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function priceId(): string
{
return $this->repository->get(
"cashier.plans.$this->type.price_id",
static fn (): never => throw new InvalidArgumentException('Invalid plan configuration'),
static fn () => throw new InvalidArgumentException('Invalid plan configuration'),
);
}

Expand Down

0 comments on commit 592f54b

Please sign in to comment.