Fix failing \Illuminate\View\View test due to pass-by-reference restriction