Remove string, integer, and int type hints.

Removed scalar type hints that are not supported by PHP and were causing compatibility issues with the WishList Membership plugin. Related to issue #2886