add specific test for the country #8
Annotations
10 errors
phpstan:
src/Countries/Belgium.php#L14
Method Spatie\Holidays\Countries\Belgium::get() return type has no value type specified in iterable type array.
|
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>.
|
phpstan:
src/Countries/Country.php#L13
Argument of an invalid type array<int, string>|false supplied for foreach, only iterables are supported.
|
phpstan:
src/Countries/Country.php#L34
Method Spatie\Holidays\Countries\Country::get() return type has no value type specified in iterable type array.
|
phpstan:
src/Holidays.php#L23
Property Spatie\Holidays\Holidays::$country (Spatie\Holidays\Countries\Country) does not accept Spatie\Holidays\Countries\Country|null.
|
phpstan:
src/Holidays.php#L44
Method Spatie\Holidays\Holidays::country() has no return type specified.
|
phpstan:
src/Holidays.php#L52
Property Spatie\Holidays\Holidays::$country (Spatie\Holidays\Countries\Country) does not accept Spatie\Holidays\Countries\Country|null.
|
phpstan:
tests/Actions/BelgiumTest.php#L8
Instantiated class Spatie\Holidays\Actions\Belgium not found.
|
phpstan:
tests/Actions/BelgiumTest.php#L10
Call to method execute() on an unknown class Spatie\Holidays\Actions\Belgium.
|
phpstan:
tests/Actions/BelgiumTest.php#L10
Unable to resolve the template type TValue in call to function expect
|