Fix PHPDoc in FactoryMethod