Merge pull request #1 from spatie/simplify-countries #7
Annotations
9 errors
Run PHPStan:
src/Countries/Belgium.php#L14
Method Spatie\Holidays\Countries\Belgium::get() return type has no value type specified in iterable type array.
|
Run PHPStan:
src/Countries/Belgium.php#L41
Method Spatie\Holidays\Countries\Belgium::fixedHolidays() should return array<string, Carbon\CarbonImmutable> but returns array<string, Carbon\CarbonImmutable|string|false>.
|
Run PHPStan:
src/Countries/Country.php#L13
Argument of an invalid type array<int, string>|false supplied for foreach, only iterables are supported.
|
Run PHPStan:
src/Countries/Country.php#L34
Method Spatie\Holidays\Countries\Country::get() return type has no value type specified in iterable type array.
|
Run PHPStan:
src/Holidays.php#L23
Property Spatie\Holidays\Holidays::$country (Spatie\Holidays\Countries\Country) does not accept Spatie\Holidays\Countries\Country|null.
|
Run PHPStan:
src/Holidays.php#L44
Method Spatie\Holidays\Holidays::country() has no return type specified.
|
Run PHPStan:
src/Holidays.php#L52
Property Spatie\Holidays\Holidays::$country (Spatie\Holidays\Countries\Country) does not accept Spatie\Holidays\Countries\Country|null.
|
Run PHPStan
Ignored error pattern #^Method Spatie\\Holidays\\Actions\\Belgium\:\:fixedHolidays\(\) should return array\<string, Carbon\\CarbonImmutable\> but returns array\<string, Carbon\\CarbonImmutable\|string\|false\>\.$# in path /home/runner/work/holidays/holidays/src/Actions/Belgium.php was not matched in reported errors.
|
Run PHPStan
Process completed with exit code 1.
|
The logs for this run have expired and are no longer available.
Loading