[main] Fix npm audit #37
Annotations
4 errors
Run coding standards check:
lib/AppInfo/DashboardWidget.php#L98
lib/AppInfo/DashboardWidget.php:98:83: MoreSpecificReturnType: The declared return type 'list<OCP\Dashboard\Model\WidgetItem>' for OCA\Notes\AppInfo\DashboardWidget::getItems is more specific than the inferred return type 'array<array-key, OCP\Dashboard\Model\WidgetItem>' (see https://psalm.dev/070)
|
Run coding standards check:
lib/AppInfo/DashboardWidget.php#L101
lib/AppInfo/DashboardWidget.php:101:10: LessSpecificReturnStatement: The type 'array<array-key, OCP\Dashboard\Model\WidgetItem>' is more general than the declared return type 'list<OCP\Dashboard\Model\WidgetItem>' for OCA\Notes\AppInfo\DashboardWidget::getItems (see https://psalm.dev/129)
|
Run coding standards check:
lib/Service/TagService.php#L24
lib/Service/TagService.php:24:56: ArgumentTypeCoercion: Argument 1 of OCP\ITags::getTagsForObjects expects list<int>, but parent type array<array-key, mixed> provided (see https://psalm.dev/193)
|
Run coding standards check
Process completed with exit code 2.
|
Loading