Compile Error: Declaration of Doctrine\KeyValueStore\Mapping\ClassMetadataFactory::doLoadMetadata() must be compatible with Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory::doLoadMetadata($class, $parent, $rootEntityFound, array $nonSuperclassParents)
Error message:
Compile Error: Declaration of Doctrine\KeyValueStore\Mapping\ClassMetadataFactory::doLoadMetadata() must be compatible with Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory::doLoadMetadata($class, $parent, $rootEntityFound, array $nonSuperclassParents)