diff --git a/src/Coinbase.php b/src/Coinbase.php index 0b5341a..e4540fe 100755 --- a/src/Coinbase.php +++ b/src/Coinbase.php @@ -107,12 +107,11 @@ public function resolveCharge(string $chargeId): array /** * Lists all checkouts. * - * @param array $query * @return array */ - public function getCheckouts(array $query = []): array + public function getCheckouts(): array { - return $this->makeRequest('get', 'checkouts', $query); + return $this->makeRequest('get', 'checkouts'); } /** diff --git a/src/Facades/Coinbase.php b/src/Facades/Coinbase.php index f48e88b..b4c396c 100755 --- a/src/Facades/Coinbase.php +++ b/src/Facades/Coinbase.php @@ -10,7 +10,7 @@ * @method static array getCharge(string $chargeId) Retrieves an existing charge by supplying its id or 8 character short-code. * @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(array $query = []) Lists all checkouts. + * @method static array getCheckouts() Lists all checkouts. * @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.