refactor: use internal/destroy package and its interface instead of…
#323
Annotations
5 errors
|
psalm (ubuntu-latest, 8.2, locked)
Process completed with exit code 2.
|
|
MixedArgument:
src/Command/Get.php#L146
src/Command/Get.php:146:17: MixedArgument: Argument 2 of Internal\DLoad\Command\Get::parseSoftware cannot be mixed, expecting null|string (see https://psalm.dev/030)
|
|
ArgumentTypeCoercion:
src/Command/Get.php#L145
src/Command/Get.php:145:17: ArgumentTypeCoercion: Argument 1 of Internal\DLoad\Command\Get::parseSoftware expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
|
|
LessSpecificReturnStatement:
src/Command/Get.php#L143
src/Command/Get.php:143:16: LessSpecificReturnStatement: The type 'array<array-key, Internal\DLoad\Module\Config\Schema\Action\Download>' is more general than the declared return type 'list<Internal\DLoad\Module\Config\Schema\Action\Download>' for Internal\DLoad\Command\Get::getDownloadActions (see https://psalm.dev/129)
|
|
MixedAssignment:
src/Command/Get.php#L141
src/Command/Get.php:141:9: MixedAssignment: Unable to determine the type that $destinationPath is being assigned to (see https://psalm.dev/032)
|