[4.2] Some substitutions of typehint (helpers.php)

Good point, man. Thank you. I'll fix up.