Problem/Motivation

DocBlock of Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface::getEntityType() says it returns a Drupal\Core\Entity\EntityTypeInterface but implementation (Drupal\Core\Entity\EntityDefinitionUpdateManager) can also return NULL.

It affects 8.9 and 9.3 versions => i suppose all versions between 8.9 and 9.3

Proposed resolution

Change DocBlock (patch will follow)

Comments

SylvainM created an issue. See original summary.

sylvainm’s picture

Assigned: sylvainm » Unassigned
Status: Active » Needs review
StatusFileSize
new744 bytes

Attached patch fixes it

joachim’s picture

Status: Needs review » Reviewed & tested by the community

LGTM.

  • catch committed c5a6d1d on 9.3.x
    Issue #3221062 by SylvainM, joachim: DocBlock for...

  • catch committed 8ea7c1f on 9.2.x
    Issue #3221062 by SylvainM, joachim: DocBlock for...
catch’s picture

Version: 8.9.x-dev » 9.2.x-dev
Status: Reviewed & tested by the community » Fixed

Committed/pushed to 9.3.x and cherry-picked to 9.2.x, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.