Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Mar 24, 2024
1 parent b04361b commit 1a15225
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions src/Taxes/Models/TaxCategoryType.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,21 +51,6 @@ class TaxCategoryType extends Enum implements TaxCategoryTypeContract

protected static array $labels = [];

protected static function boot()
{
static::$labels = [
self::PHYSICAL_GOODS => __('Physical Goods'),
self::DIGITAL_GOODS_AND_SERVICES => __('Digital Goods/Services (E-Services)'),
self::TRANSPORT_SERVICES => __('Transport Services'),
self::TELECOM_SERVICES => __('Telecommunications Services'),
self::BROADCASTING => __('Broadcasting Services'),
self::LOCATION_TIED_SERVICES => __('Location-Tied Services'),
self::INTANGIBLE_SERVICES => __('Intangible/Remote Services'),
self::REAL_ESTATE_SERVICES => __('Real Estate Services'),
self::EVENT_RELATED_SERVICES => __('Event-Related Services'),
];
}

public function explanation(): string
{
return match ($this->value) {
Expand All @@ -80,4 +65,19 @@ public function explanation(): string
self::EVENT_RELATED_SERVICES => __('Admission to cultural, artistic, sporting, scientific, educational, entertainment or similar events, such as fairs and exhibitions; and of ancillary services related to the admission like planning, organizing, and managing of events.'),
};
}

protected static function boot()
{
static::$labels = [
self::PHYSICAL_GOODS => __('Physical Goods'),
self::DIGITAL_GOODS_AND_SERVICES => __('Digital Goods/Services (E-Services)'),
self::TRANSPORT_SERVICES => __('Transport Services'),
self::TELECOM_SERVICES => __('Telecommunications Services'),
self::BROADCASTING => __('Broadcasting Services'),
self::LOCATION_TIED_SERVICES => __('Location-Tied Services'),
self::INTANGIBLE_SERVICES => __('Intangible/Remote Services'),
self::REAL_ESTATE_SERVICES => __('Real Estate Services'),
self::EVENT_RELATED_SERVICES => __('Event-Related Services'),
];
}
}

0 comments on commit 1a15225

Please sign in to comment.