For PHP, add a $ before parameter names in :xapian-just-method: role