General: Add types and update tests #60
Annotations
8 errors
src/Lunr/Core/Configuration.php#L70
Property Lunr\Core\Configuration::$config (array<int|string, mixed>) does not accept array|bool|float|int|Lunr\Core\Configuration|string.
|
src/Lunr/Core/Configuration.php#L142
Property Lunr\Core\Configuration::$config (array<int|string, mixed>) does not accept array|bool|float|int|Lunr\Core\Configuration|string.
|
src/Lunr/Core/Configuration.php#L153
Method Lunr\Core\Configuration::convert_array_to_class() never returns bool so it can be removed from the return type.
|
src/Lunr/Core/Configuration.php#L153
Method Lunr\Core\Configuration::convert_array_to_class() never returns float so it can be removed from the return type.
|
src/Lunr/Core/Configuration.php#L153
Method Lunr\Core\Configuration::convert_array_to_class() never returns int so it can be removed from the return type.
|
src/Lunr/Core/Configuration.php#L153
Method Lunr\Core\Configuration::convert_array_to_class() never returns string so it can be removed from the return type.
|
src/Lunr/Core/Configuration.php#L153
Method Lunr\Core\Configuration::convert_array_to_class() return type has no value type specified in iterable type array.
|
|
This job failed
Loading