Update Validator.php

Typo on phpDoc
Update Factory.php

Typo on phpDOC
Merge pull request #1452 from T3chn0crat/patch-1

Update Validator.php