Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

Commit

Permalink
Update Tikkie PaymentRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
Job Wiegant committed Dec 16, 2020
1 parent 6e60be2 commit e130cce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ todo
vendor
.php_cs.cache
.phpunit.result.cache
.idea
4 changes: 2 additions & 2 deletions src/PaymentRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ class PaymentRequest extends BaseRequest
* @param string $description
* @param string $referenceId
* @param null $expiryDate
* @param int|null $amount
* @param float|null $amount
*
* @return Response\PaymentRequestResponse|Response\ErrorListResponse
* @throws Exception
*/
public function create(string $description,
string $referenceId,
$expiryDate = null,
int $amount = null)
float $amount = null)
{
// Set and check the expiryDate
if ($expiryDate === null) {
Expand Down

0 comments on commit e130cce

Please sign in to comment.