Skip to content

handle more edge cases #867

handle more edge cases

handle more edge cases #867

Triggered via push March 11, 2024 14:54
Status Failure
Total duration 29s
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)#L26
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)#L26
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)#L30
Dead catch - Exception is never thrown in the try block.
phpstan: src/Calendars/IslamicCalendar.php (in context of class Spatie/Holidays/Countries/Bahrain)#L60
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)#L60
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)#L64
Dead catch - Exception is never thrown in the try block.
phpstan: src/Calendars/IslamicCalendar.php (in context of class Spatie/Holidays/Countries/Turkey)#L26
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)#L26
Method Spatie\Holidays\Countries\Turkey::getHoliday() return type has no value type specified in iterable type array.
phpstan: src/Calendars/IslamicCalendar.php (in context of class Spatie/Holidays/Countries/Turkey)#L30
Dead catch - Exception is never thrown in the try block.
phpstan: src/Calendars/IslamicCalendar.php (in context of class Spatie/Holidays/Countries/Turkey)#L60
Method Spatie\Holidays\Countries\Turkey::getOverlapping() has parameter $collection with no value type specified in iterable type array.