phpstan-drupal icon indicating copy to clipboard operation
phpstan-drupal copied to clipboard

EntityReference formatter stubs

Open mstrelan opened this issue 1 year ago • 0 comments

Fixes the following issue (and other similar issues) when checkFunctionArgumentTypes: true is enabled

Parameter #1 $items of method Drupal\Core\Field\Plugin\Field\FieldFormatter\EntityReferenceFormatterBase::getEntitiesToView() expects Drupal\Core\Field\EntityReferenceFieldItemListInterface, Drupal\Core\Field\FieldItemListInterface given.

mstrelan avatar Sep 13 '24 06:09 mstrelan