ceeram/wsdl — pull request #2 by Phally (2012-03-17 21:03:20+00:00)
Title: Allow calls without arguments.

When trying a query without any arguments, the loop will trigger an error. Since not every call needs arguments we can't just assume there are any arguments.

This line will cast the arguments to an array so we are sure an array will enter the foreach loop. This could be an array without any items and the foreach wouldn't run and thus solving the problem.