Removes class hinting of 'string' (php doesn't support the built-in type of string with type hinting)