Removed unnecessary $xml parameter and removed unwanted brackets.

The parameter $xml on the static function toXml is not required as this parameter is being immediately overriden on line 31.

The addAttribute of variable $transacType does not return anything, so it doesn't required to be enclosed with brackets.