catch Exception and add some invented type
following @javiereguiluz comments
Merge pull request #61 from ricardclau/php_fatal_badtypehint

Catch uncatched Reflection exception for bad type hinting in object