Skip to content

Commit

Permalink
Fix fatal error on payment methods.
Browse files Browse the repository at this point in the history
  • Loading branch information
kporras07 committed Dec 21, 2023
1 parent bd06590 commit f03d952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Collections/PaymentMethods.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class PaymentMethods extends UserOwnedCollection
* @throws TerminusException When there is more than one matching payment method
* @throws TerminusNotFoundException When there are no matching payment methods
*/
public function get($id): ?TerminusModel
public function get($id): TerminusModel
{
$payment_methods = $this->all();
if (isset($payment_methods[$id])) {
Expand Down

0 comments on commit f03d952

Please sign in to comment.