padraic/phpsecurity — pull request #6 by nicoSWD (2014-11-27 20:04:07+00:00)
Title: Removed is_int() check

I removed the ``is_int()`` check because ``ctype_digit()`` _always_ expects a string, and will return ``false`` if an integer is passed. And because it made more sense to remove this than the ``ctype_digit()`` call, as user input (unless casted previously) can only be of two types, string and array. Both checks together make no sense.