Skip to content

Merge pull request #96 from kakajansh/main #522

Merge pull request #96 from kakajansh/main

Merge pull request #96 from kakajansh/main #522

Triggered via push January 23, 2024 14:34
Status Failure
Total duration 22s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors
phpstan: src/Countries/Turkmenistan.php#L37
Method Spatie\Holidays\Countries\Turkmenistan::variableHolidays() should return array<string, Carbon\CarbonImmutable> but returns array<string, string>.
phpstan: src/Countries/Turkmenistan.php#L45
Method Spatie\Holidays\Countries\Turkmenistan::islamicCalendar() has parameter $nextYear with no type specified.
phpstan: src/Countries/Turkmenistan.php#L51
Cannot call method setTimeStamp() on DateTime|false.
phpstan: src/Countries/Turkmenistan.php#L67
Method Spatie\Holidays\Countries\Turkmenistan::getHijriYear() has parameter $nextYear with no type specified.
phpstan: src/Countries/Turkmenistan.php#L73
Parameter #1 $datetime of method IntlDateFormatter::format() expects array|DateTimeInterface|float|int|IntlCalendar|string, DateTime|false given.
phpstan
Process completed with exit code 1.