I remove conversion to array and add type hinting into Validator::createValidator, please tell me your opinion.