removed the strict type requirement for result param

This fixes the issue with bug https://github.com/phalcon/cphalcon/issues/3098   where empty results would cause exceptions to be thrown since proper type was not being passed to result.