Fix: PHP Deprecated: Call-time pass-by-reference has been deprecated