From d77eb1eb75ba8c865a8361f6cef30b2c954be294 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Fri, 15 Nov 2024 05:24:18 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Support/Traits/EnumEnhance.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Support/Traits/EnumEnhance.php b/src/Support/Traits/EnumEnhance.php index b3fd524..bb2680c 100644 --- a/src/Support/Traits/EnumEnhance.php +++ b/src/Support/Traits/EnumEnhance.php @@ -29,7 +29,7 @@ public function value(): int|string public function description(string $localizationGroup = 'enums'): string { $name = (version_compare(app()->version(), '11.0.0', '>=') ? $this->value : $this->name); - $key = sprintf("%s.%s.%s", $localizationGroup, static::class, $name); + $key = sprintf('%s.%s.%s', $localizationGroup, static::class, $name); return Lang::has($key) ? Lang::get($key) : Str::of($this->name)->replace('_', ' ')->lower(); }