Skip to content

Commit

Permalink
Merge branch 'develop' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
valdeirpsr committed Sep 9, 2023
2 parents f504f36 + 670a7d0 commit 7e9e4fa
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.3', '7.4', '8.0']
php-versions: ['7.3', '7.4', '8.0', '8.2']
steps:
- name: Checkout
uses: actions/checkout@v1
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "library",
"license": "MIT",
"require": {
"php": "^7.3 | ^8.0 | ^8.1",
"php": "^7.3 | ^8.0 | ^8.1 | ^8.2",
"curl/curl": "^2.5",
"ext-curl": "*",
"ext-json": "*",
Expand Down
2 changes: 1 addition & 1 deletion src/Domains/Transaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public function getCancellationSource(): ?string
*/
public function getLastEventDate(): ?DateTime
{
return $this->lastEventDate;
return ($this->lastEventDate instanceof DateTime) ? $this->lastEventDate : null;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/Domains/PaymentMethod/DebitCardTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ public function populateToXml()
{
$xml = '
<eft>
<method>eft</method>
<bank>
<name>BANCO_BRASIL</name>
</bank>
<method>eft</method>
</eft>
';

Expand Down

0 comments on commit 7e9e4fa

Please sign in to comment.