Avoid call_user_func_array in query method

indeed the casting would do the trick: http://3v4l.org/KLICX