EntityControllerInterface::buildContent() now typehints its first argument, $entity, as EntityInterface. All classes that implement this interface or an extension of this interface (including ParagraphsItemEntityController) must typehint the first argument the same way.
EntityControllerInterface::buildContent() now typehints its first argument, $entity, as
EntityInterface
. All classes that implement this interface or an extension of this interface (including ParagraphsItemEntityController) must typehint the first argument the same way.This is not an issue with PHP 7.3 or 7.4, but it does throw a fatal error in 7.1 , and probably also in 7.0. See this report in Entity Plus issue queue. https://github.com/backdrop-contrib/entity_plus/issues/117
I'll submit a PR for this.