Removed scalar typehints which are not supported in PHP