Skip to content

Commit

Permalink
Merge 430580f into 4b1b3ce
Browse files Browse the repository at this point in the history
  • Loading branch information
nanobash committed Jul 20, 2023
2 parents 4b1b3ce + 430580f commit 5fa2003
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ Security - in case of vulnerabilities.

_TBD_

## [2.23.1] 2023-07-20

### Fixed

- [x] Fixed `InvoiceService::issue` method signature (make `issuedTime` parameter nullable)

## [2.23.0] 2023-07-04

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ final class Client
*/
public const CURRENT_VERSION = 'v2.1';

public const SDK_VERSION = '2.23.0';
public const SDK_VERSION = '2.23.1';

private static $services = [
'authenticationOptions' => Services\AuthenticationOptionsService::class,
Expand Down
4 changes: 2 additions & 2 deletions src/Services/InvoiceService.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,12 @@ public function abandon($invoiceId)

/**
* @param string $invoiceId
* @param string $issuedTime
* @param string|null $issuedTime
* @param string|null $dueTime
*
* @return Invoice
*/
public function issue($invoiceId, $issuedTime, $dueTime = null)
public function issue($invoiceId, $issuedTime = null, $dueTime = null)
{
return $this->client()->post(
[
Expand Down

0 comments on commit 5fa2003

Please sign in to comment.