protected function getTaxTypes()
    {
        $taxTypes = $this->taxTypeRepository->getAll();
        $taxTypes = array_filter($taxTypes, function ($taxType) {
            $tag = $taxType->getTag();

            return empty($tag);
        });

        return $taxTypes;
    }
protected function getTaxTypes()
    {
        $taxTypes = $this->taxTypeRepository->getAll();
        $taxTypes = array_filter($taxTypes, function ($taxType) {
            $tag = $taxType->getTag();

            return empty($tag);
        });

        return $taxTypes;
    }
protected function getTaxTypes ( ) { $ taxTypes = $ this -> taxTypeRepository -> getAll ( ) ; $ taxTypes = array_filter ( $ taxTypes , function ( $ taxType ) { $ tag = $ taxType -> getTag ( ) ; return empty ( $ tag ) ; } ) ; return $ taxTypes ; }
Returns the non-tagged tax types.

It is assumed that the tagged tax types have already been evaluated by
other resolvers.

@return TaxTypeInterface[] An array of non-tagged tax types.
Returns the non - tagged tax types .