trying to resolve psalm #151
Annotations
3 errors
Psalm:
src/Reader/ApiReader.php#L57
src/Reader/ApiReader.php:57:57: PropertyTypeCoercion: $this->importSourceDefinition expects 'Fastbolt\EntityImporter\Types\ImportSourceDefinition\Api', parent type 'Fastbolt\EntityImporter\Types\ImportSourceDefinition\ImportSourceDefinition' provided (see https://psalm.dev/198)
|
Psalm:
src/Types/ImportSourceDefinition/Api.php#L83
src/Types/ImportSourceDefinition/Api.php:83:16: MixedReturnTypeCoercion: The declared return type 'array<string, string>' for Fastbolt\EntityImporter\Types\ImportSourceDefinition\Api::getQueryParameters is more specific than the inferred return type 'array<array-key, mixed>' (see https://psalm.dev/197)
|
Psalm:
src/Types/ImportSourceDefinition/Api.php#L87
src/Types/ImportSourceDefinition/Api.php:87:16: MixedReturnTypeCoercion: The type 'array<array-key, mixed>' is more general than the declared return type 'array<string, string>' for Fastbolt\EntityImporter\Types\ImportSourceDefinition\Api::getQueryParameters (see https://psalm.dev/197)
|
Loading