Missing `var` before $objOptions on line 510

My IDE also automatically stripped trailing whitespace