Why is `$currency` a method variable if it is just set to something else here?