The expression return new Doctrine\ORM\...LASS_MAPPING_DIRECTORY) returns the type Doctrine\ORM\Mapping\Driver\XmlDriver which is incompatible with the type-hinted return Doctrine\Common\Persiste...ng\Driver\MappingDriver.
Loading history...
27
}
28
29
public function newEventSubscribers(): array {
30
// Currently we don't have event subscribers, but this method helps to keep a consistent interface
31
// with all the other context factories of the bounded contexts.