Fix a PHP strict warning, only variables should be passed by reference