The expression is_a($entity, static::CL...cale, $entity) : false; of type string|false adds false to the return on line 16 which is incompatible with the return type declared by the interface Oro\Bundle\EntityBundle\...viderInterface::getName of type string. It seems like you forgot to handle an error condition.
Loading history...
17
}
18
19
/**
20
* {@inheritdoc}
21
*/
22
public function getNameDQL($format, $locale, $className, $alias)
The expression $className === self::CLA...sName, $alias) : false; of type string|false adds false to the return on line 24 which is incompatible with the return type declared by the interface Oro\Bundle\EntityBundle\...erInterface::getNameDQL of type string. It seems like you forgot to handle an error condition.