ParseError thrown

syntax error, unexpected 'return' (T_RETURN)