Skip to content

Commit

Permalink
phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
Nielsvanpach committed Mar 22, 2024
1 parent be4354c commit 69ed981
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Countries/Canada.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ protected function variableHolidays(int $year): array
$easter = $this->easter($year);

// the Monday preceding May 25
$victoriaDay = CarbonImmutable::createFromFormat('Y-m-d', "{$year}-05-25")
$victoriaDay = CarbonImmutable::createFromDate($year, 5, 25)
->previous('Monday');

return [
Expand Down

0 comments on commit 69ed981

Please sign in to comment.