Skip to content

Commit

Permalink
Minor documentation tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
jprodrigues70 authored Aug 3, 2021
1 parent fa323a7 commit 2f0fa0b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/GuPaymentTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ trait GuPaymentTrait
/**
* Make a "one off" charge on the customer for the given amount.
*
* @param int $amount
* @param integer|null $amount
* @param array $options
* @return \Iugu_Charge
*
* @throws \InvalidArgumentException
*/
public function charge($amount, array $options = [])
public function charge(?int $amount, array $options = [])
{
if (! array_key_exists('items', $options) &&
! array_key_exists('invoice_id', $options)
Expand Down Expand Up @@ -485,7 +485,7 @@ public function downloadInvoice($id, array $data, $storagePath = null)
/**
* Get the Iugu customer for the user.
*
* @return \IuguCustomer
* @return \Iugu_Customer
*
* @throws \InvalidArgumentException
*/
Expand Down

0 comments on commit 2f0fa0b

Please sign in to comment.