Fix the sniff for some file paths in core/lib
This adds a comment in most cases. There are a few like the following that use an ignore line instead. This retains the more specific return type which mstrlen states assists with static analysis.
/**
* {@inheritdoc}
*
* @return \Drupal\Core\Entity\EntityTypeInterface[]
*/
// phpcs:ignore Drupal.Commenting.FunctionComment.MissingReturnComment
public function getDefinitions();
Perhaps add a followup for the ignore lines or rely on existing work to add return type hints.
11.0 π₯
other
It involves compliance with, or the content of coding standards. Requires broad community agreement.