Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jae Muzzin committed Jun 11, 2024
1 parent 3e1b026 commit 85d9344
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
10 changes: 2 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,8 @@
"license": "MIT",
"authors": [
{
"name": "Simon Westlake",
"email": "simon@sonar.software",
"homepage": "https://sonar.software",
"role": "Developer"
},
{
"name": "Devin Johnson",
"email": "devin@sonar.software",
"name": "Sonar Developers",
"email": "support@sonar.software",
"homepage": "https://sonar.software",
"role": "Developer"
}
Expand Down
2 changes: 1 addition & 1 deletion src/Helpers/CreditCardValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public static function validDate($year, $month): array
return $validResponse;
}

if ($now->year === $exprYear && $now->month <= $exprMonth) {
if ($now->year == $exprYear && $now->month <= $exprMonth) {
return $validResponse;
}

Expand Down

0 comments on commit 85d9344

Please sign in to comment.