Update Factory.php

Typo on phpDOC
Merge pull request #1453 from T3chn0crat/patch-2

Update Factory.php