handle more edge cases #867
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.
|