Add Jordan holidays #857
Annotations
9 errors
Run PHPStan:
src/Concerns/IslamicHolidays.php (in context of class Spatie/Holidays/Countries/Jordan)#L9
Method Spatie\Holidays\Countries\Jordan::getIslamicHolidays() return type has no value type specified in iterable type array.
|
Run PHPStan:
src/Concerns/IslamicHolidays.php (in context of class Spatie/Holidays/Countries/Jordan)#L14
Argument of an invalid type array<int, string>|false supplied for foreach, only iterables are supported.
|
Run PHPStan:
src/Concerns/WeekendHolidays.php (in context of class Spatie/Holidays/Countries/Jordan)#L20
Method Spatie\Holidays\Countries\Jordan::setTheWeekendDays() has parameter $days with no value type specified in iterable type array.
|
Run PHPStan:
src/Concerns/WeekendHolidays.php (in context of class Spatie/Holidays/Countries/Jordan)#L29
Method Spatie\Holidays\Countries\Jordan::getWeekendHolidays() return type has no value type specified in iterable type array.
|
Run PHPStan:
src/Concerns/WeekendHolidays.php (in context of class Spatie/Holidays/Countries/Jordan)#L36
Argument of an invalid type Carbon\CarbonPeriod supplied for foreach, only iterables are supported.
|
Run PHPStan:
src/Concerns/WeekendHolidays.php (in context of class Spatie/Holidays/Countries/Jordan)#L36
Cannot call method endOfYear() on Carbon\CarbonImmutable|null.
|
Run PHPStan:
src/Concerns/WeekendHolidays.php (in context of class Spatie/Holidays/Countries/Jordan)#L36
Cannot call method startOfMonth() on Carbon\CarbonImmutable|null.
|
Run PHPStan:
src/Countries/Jordan.php#L34
Method Spatie\Holidays\Countries\Jordan::variableHolidays() return type has no value type specified in iterable type array.
|
Run PHPStan
Process completed with exit code 1.
|
The logs for this run have expired and are no longer available.
Loading