Update Factory.php

Typo on phpDOC