Skip to content

Commit

Permalink
Removed lines
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier Emmanuel Mercedes authored and Javier Emmanuel Mercedes committed Jan 18, 2024
1 parent a0666fb commit 47c40bf
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Countries/DominicanRepublic.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ public function countryCode(): string
{
return 'do';
}

/** @return array<string, CarbonImmutable | string> */
protected function allHolidays(int $year): array
{
return array_merge([
Expand All @@ -27,8 +25,6 @@ protected function allHolidays(int $year): array
'Navidad' => '12-25',
], $this->variableHolidays($year));
}

/** @return array<string, CarbonImmutable> */
protected function variableHolidays(int $year): array

Check failure on line 28 in src/Countries/DominicanRepublic.php

View workflow job for this annotation

GitHub Actions / phpstan

Method Spatie\Holidays\Countries\DominicanRepublic::variableHolidays() return type has no value type specified in iterable type array.
{
$easter = CarbonImmutable::createFromTimestamp(easter_date($year))
Expand Down

0 comments on commit 47c40bf

Please sign in to comment.