Skip to content

Commit

Permalink
Fix createCheckout
Browse files Browse the repository at this point in the history
  • Loading branch information
antimech committed Oct 31, 2023
1 parent ec9f17a commit 5884e52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Coinbase.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function getCheckouts(): array
* @param array $params
* @return array
*/
public function createCheckout(array $params = []): array
public function createCheckout(array $params): array
{
return $this->makeRequest('post', 'checkouts', [], $params);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Facades/Coinbase.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @method static array cancelCharge(string $chargeId) Cancels an existing charge by supplying its id or 8 character short-code.
* @method static array resolveCharge(string $chargeId) Resolves an existing, unresolved charge by supplying its id or 8 character short-code.
* @method static array getCheckouts() Lists all checkouts.
* @method static array createCheckout(array $params = []) Creates a new checkout.
* @method static array createCheckout(array $params) Creates a new checkout.
* @method static array getCheckout(string $checkoutId) Retrieves an existing checkout.
* @method static array updateCheckout(string $checkoutId, array $params = []) Updates an existing checkout.
* @method static array deleteCheckout(string $checkoutId) Deletes an existing checkout.
Expand Down

0 comments on commit 5884e52

Please sign in to comment.