Skip to content

Commit

Permalink
Method call is provided 1 parameter, but the method signature uses 0 …
Browse files Browse the repository at this point in the history
…parameters fixed
  • Loading branch information
juref-specto committed Jan 18, 2024
1 parent 7641078 commit d3a6abc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Countries/Slovenia.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ public function countryCode(): string
/** @return array<string, CarbonImmutable> */
protected function allHolidays(int $year): array
{
return array_merge([

return array_merge([

Check failure on line 18 in src/Countries/Slovenia.php

View workflow job for this annotation

GitHub Actions / phpstan

Method Spatie\Holidays\Countries\Slovenia::allHolidays() should return array<string, Carbon\CarbonImmutable> but returns array<string, Carbon\CarbonImmutable|string>.
'Novo leto' => '01-01', // New Year's Day
'Novo leto 2' => '01-02', // New Year's Day, yes it's a second day
'Prešernov dan, slovenski kulturni praznik' => '08-02', // Prešeren Day, Slovenian Cultural Holiday
Expand Down

0 comments on commit d3a6abc

Please sign in to comment.