Fix PHP_CodeCoverage_Exception on QueryResultSerializer

Change-Id: Ibcb647231da063ee2bf4bc99247f459ad4909c96