fix result_types.feature failing on php5.5

The travis build failed because of an unexpected php Notice on php5.5