changing the way to how to add a function in phph-hint