enh(TextProcessing): Allow providers and task types to declare a dynamic ID instead of using className #33154
Annotations
4 errors
lib/private/TextProcessing/Manager.php#L99
lib/private/TextProcessing/Manager.php:99:43: MoreSpecificReturnType: The declared return type 'array<array-key, class-string<OCP\TextProcessing\ITaskType>>' for OC\TextProcessing\Manager::getAvailableTaskTypes is more specific than the inferred return type 'list<string>' (see https://psalm.dev/070)
|
lib/private/TextProcessing/Manager.php#L104
lib/private/TextProcessing/Manager.php:104:10: LessSpecificReturnStatement: The type 'list<string>' is more general than the declared return type 'array<array-key, class-string<OCP\TextProcessing\ITaskType>>' for OC\TextProcessing\Manager::getAvailableTaskTypes (see https://psalm.dev/129)
|
lib/public/TextProcessing/IProviderWithId.php#L32
lib/public/TextProcessing/IProviderWithId.php:32:35: MissingTemplateParam: OCP\TextProcessing\IProviderWithId has missing template params when extending OCP\TextProcessing\IProvider, expecting 1 (see https://psalm.dev/182)
|
|
The logs for this run have expired and are no longer available.
Loading