Skip to content

consistency in Magento\Tax\Helper\Data #443

Closed
@fooman

Description

@fooman

Currently neither the method naming nor the content is consistent.

For example

public function discountTax($store=null)
{
    return $this->_config->discountTax($store);
}

vs

public function getTaxBasedOn($store = null)
{
    return $this->_coreStoreConfig->getConfig(\Magento\Tax\Model\Config::CONFIG_XML_PATH_BASED_ON, $store);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions