Update HydratorFactory.php