added missing return statement

SPR-11319