Fixes PHP strict mode error regarding passing non variables as reference