Fix for Only variables should be passed by reference [PHP requirement]

This is generate as runtime notice.