fix result_types.feature failing on php5.5

The travis build failed because of an unexpected php Notice on php5.5:
https://travis-ci.org/Behat/Behat/builds/6243493