Skip to content

Add Moroccan Holidays #327

Add Moroccan Holidays

Add Moroccan Holidays #327

Re-run triggered January 20, 2024 11:03
Status Failure
Total duration 24s
Artifacts

phpstan.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
phpstan: src/Countries/Morocco.php#L18
Method Spatie\Holidays\Countries\Morocco::allHolidays() should return array<string, Carbon\CarbonImmutable> but returns array<string, Carbon\CarbonImmutable|string>.
phpstan: src/Countries/Morocco.php#L65
Parameter #1 $day of static method GeniusTS\HijriDate\Hijri::convertToGregorian() expects int, string given.
phpstan: src/Countries/Morocco.php#L65
Parameter #2 $month of static method GeniusTS\HijriDate\Hijri::convertToGregorian() expects int, string given.
phpstan: src/Countries/Morocco.php#L67
Parameter #1 $day of static method GeniusTS\HijriDate\Hijri::convertToGregorian() expects int, string given.
phpstan: src/Countries/Morocco.php#L67
Parameter #2 $month of static method GeniusTS\HijriDate\Hijri::convertToGregorian() expects int, string given.
phpstan: src/Countries/Morocco.php#L77
Method Spatie\Holidays\Countries\Morocco::variableHolidays() should return array<string, Carbon\CarbonImmutable> but returns array<string, string>.
phpstan
Process completed with exit code 1.