Alternative fix to #1460

Since array_values() is used when grabbing arguments in
AreAllArgumentsValidValidator::processArgumentValidation(), the index 0
would be seen as empty in the __set() function.
Removed need to cast empty string into an integer
Merge pull request #1469 from georaldc/develop

Alternative fix to #1460