Namespace issue with relations() interface

Fatal error: Declaration of xx::relations() must be compatible with Spot\EntityInterface::relations(Spot\MapperInterface $mapper, Spot\EntityInterface $entity