diff --git a/src/Coinbase.php b/src/Coinbase.php index 4b09589..c09752c 100755 --- a/src/Coinbase.php +++ b/src/Coinbase.php @@ -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); } diff --git a/src/Facades/Coinbase.php b/src/Facades/Coinbase.php index 66ff005..cfc7d90 100755 --- a/src/Facades/Coinbase.php +++ b/src/Facades/Coinbase.php @@ -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.