The expression return $this->factoryV1-...oExpectationConverter() returns the type Mcustiel\Phiremock\Commo...yToExpectationConverter which is incompatible with the type-hinted return Mcustiel\Phiremock\Commo...yToExpectationConverter.
The expression return $this->factoryV2-...oExpectationConverter() returns the type Mcustiel\Phiremock\Commo...yToExpectationConverter which is incompatible with the type-hinted return Mcustiel\Phiremock\Commo...yToExpectationConverter.