EvilScott/junior — pull request #10 by kwk (2012-07-04 07:54:50+00:00)
Title: Prevent PHP Warning from happening when you pass less than the required number of arguments to an RPC function.

Hi EvilScott,

thank you for this nice piece of software!!!

we have a PHP configuration that turns every warning into an error. So when you call an RPC method with less than the required parameters I get an error. From my point of view, we can utilize the reflection mechanisms just as I did and check if one specified enough parameters.

Please have a look at my small commit (4 lines of code) and pull it into your repository.

Thank you in advance!

-Konrad