Skip to content

Commit

Permalink
Remove parentInstance argument from guest checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints committed Sep 26, 2022
1 parent 5ff74af commit 713d7d3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Checkout.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,11 @@ public function __construct($owner, Session $session)
/**
* Begin a new guest checkout session.
*
* @param object|null $parentInstance
* @return \Laravel\Cashier\CheckoutBuilder
*/
public static function guest($parentInstance = null)
public static function guest()
{
return new CheckoutBuilder(null, $parentInstance);
return new CheckoutBuilder();
}

/**
Expand Down

0 comments on commit 713d7d3

Please sign in to comment.