Add Algerian holidays #799
Annotations
10 errors
Run PHPStan:
src/Countries/Australia.php#L44
Cannot call method modify() on Carbon\CarbonImmutable|false.
|
Run PHPStan:
src/Countries/Australia.php#L44
Using nullsafe method call on non-nullable type Carbon\CarbonImmutable|false. Use -> instead.
|
Run PHPStan:
src/Countries/Country.php#L38
Parameter #2 $callback of function uasort expects callable(bool|Carbon\CarbonImmutable, bool|Carbon\CarbonImmutable): int, Closure(Carbon\CarbonImmutable, Carbon\CarbonImmutable): int<-1, 1> given.
|
Run PHPStan:
src/Countries/Country.php#L41
Method Spatie\Holidays\Countries\Country::get() should return array<string, Carbon\CarbonImmutable|string> but returns array<string, Carbon\CarbonImmutable|false>.
|
Run PHPStan:
src/Countries/Country.php#L51
Cannot call method startOfDay() on Carbon\CarbonImmutable|false.
|
Run PHPStan:
src/Countries/Country.php#L62
Cannot call method startOfDay() on Carbon\CarbonImmutable|false.
|
Run PHPStan:
src/Countries/Egypt.php#L305
Cannot call method addDays() on Carbon\CarbonImmutable|false.
|
Run PHPStan:
src/Countries/Egypt.php#L309
Method Spatie\Holidays\Countries\Egypt::getIslamicHolidayDatesForYear() should return array<string, Carbon\CarbonImmutable> but returns array<string, Carbon\CarbonImmutable|false>.
|
Run PHPStan:
src/Countries/Sweden.php#L32
Cannot call method startOfDay() on Carbon\CarbonImmutable|false.
|
Run PHPStan:
src/Countries/Sweden.php#L38
Cannot call method startOfDay() on Carbon\CarbonImmutable|false.
|
The logs for this run have expired and are no longer available.
Loading