Skip to content

fix Turkey

fix Turkey #871

Triggered via push March 21, 2024 20:23
Status Failure
Total duration 26s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan: src/Calendars/IslamicCalendar.php (in context of class Spatie/Holidays/Countries/Bahrain)#L25
Method Spatie\Holidays\Countries\Bahrain::getHoliday() has parameter $collection with no value type specified in iterable type array.
phpstan: src/Calendars/IslamicCalendar.php (in context of class Spatie/Holidays/Countries/Bahrain)#L25
Method Spatie\Holidays\Countries\Bahrain::getHoliday() return type has no value type specified in iterable type array.
phpstan: src/Calendars/IslamicCalendar.php (in context of class Spatie/Holidays/Countries/Bahrain)#L29
Dead catch - Exception is never thrown in the try block.
phpstan: src/Calendars/IslamicCalendar.php (in context of class Spatie/Holidays/Countries/Bahrain)#L63
Cannot call method startOfDay() on Carbon\CarbonImmutable|null.
phpstan: src/Calendars/IslamicCalendar.php (in context of class Spatie/Holidays/Countries/Bahrain)#L69
Method Spatie\Holidays\Countries\Bahrain::getOverlapping() has parameter $collection with no value type specified in iterable type array.
phpstan: src/Calendars/IslamicCalendar.php (in context of class Spatie/Holidays/Countries/Bahrain)#L69
Method Spatie\Holidays\Countries\Bahrain::getOverlapping() has parameter $totalDays with no type specified.
phpstan: src/Calendars/IslamicCalendar.php (in context of class Spatie/Holidays/Countries/Bahrain)#L77
Dead catch - Exception is never thrown in the try block.
phpstan: src/Calendars/IslamicCalendar.php (in context of class Spatie/Holidays/Countries/Bahrain)#L85
Cannot call method startOfDay() on Carbon\CarbonImmutable|null.
phpstan: src/Calendars/IslamicCalendar.php (in context of class Spatie/Holidays/Countries/Turkey)#L25
Method Spatie\Holidays\Countries\Turkey::getHoliday() has parameter $collection with no value type specified in iterable type array.
phpstan: src/Calendars/IslamicCalendar.php (in context of class Spatie/Holidays/Countries/Turkey)#L25
Method Spatie\Holidays\Countries\Turkey::getHoliday() return type has no value type specified in iterable type array.