From a0c4b67ea3fd530782b0e1ff70c04c4c1a88f316 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Mon, 14 Aug 2023 09:21:01 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Copper/Copper.php | 22 ++++++++-------------- src/Copper/Laravel/ServiceProvider.php | 3 +-- 2 files changed, 9 insertions(+), 16 deletions(-) diff --git a/src/Copper/Copper.php b/src/Copper/Copper.php index 37a4457..1f7805b 100755 --- a/src/Copper/Copper.php +++ b/src/Copper/Copper.php @@ -63,10 +63,9 @@ class Copper /** * Create the instance of Copper. * - * @param float|null $value Number to be used in the formatter. - * @param int|null $style Style of formatter to use. - * @param string|null $locale Locale to use for the formatter. - * + * @param float|null $value Number to be used in the formatter. + * @param int|null $style Style of formatter to use. + * @param string|null $locale Locale to use for the formatter. * @return Copper Copper instance. */ public static function create(?float $value = null, ?int $style = null, ?string $locale = null): Copper @@ -93,8 +92,7 @@ public static function create(?float $value = null, ?int $style = null, ?string /** * Format the number using DECIMAL. * - * @param int|null $precision Precision to use for formatter. - * + * @param int|null $precision Precision to use for formatter. * @return string Formatted number. */ public static function decimal(?int $precision = null): string @@ -112,8 +110,7 @@ public static function decimal(?int $precision = null): string /** * Format the number using CURRENCY. * - * @param string $iso The 3-letter ISO 4217 currency code indicating the currency to use. - * + * @param string $iso The 3-letter ISO 4217 currency code indicating the currency to use. * @return string Formatted number. */ public static function currency(string $iso): string @@ -156,8 +153,7 @@ public static function percentage(): string /** * Format the number using CURRENCY_ACCOUNTING. * - * @param string $iso The 3-letter ISO 4217 currency code indicating the currency to use. - * + * @param string $iso The 3-letter ISO 4217 currency code indicating the currency to use. * @return string Formatted number. */ public static function accounting(string $iso): string @@ -186,8 +182,7 @@ public static function scientific(): string /** * Set the Locale. * - * @param string $locale Locale in which the number would be formatted. - * + * @param string $locale Locale in which the number would be formatted. * @return Copper Copper instance. */ public static function setLocale(string $locale): Copper @@ -211,8 +206,7 @@ public static function getLocale(): string /** * Set the Style. * - * @param int $style Style of the formatting. - * + * @param int $style Style of the formatting. * @return Copper Copper instance. */ public static function setStyle(int $style): Copper diff --git a/src/Copper/Laravel/ServiceProvider.php b/src/Copper/Laravel/ServiceProvider.php index ee6bfd2..ad1fb8a 100755 --- a/src/Copper/Laravel/ServiceProvider.php +++ b/src/Copper/Laravel/ServiceProvider.php @@ -72,8 +72,7 @@ public function register() /** * Check function for Event Dispatcher. * - * @param Illuminate\Contracts\Events\Dispatcher|Illuminate\Events\Dispatcher|Illuminate\Events\EventDispatcher $instance Event dispatcher - * + * @param Illuminate\Contracts\Events\Dispatcher|Illuminate\Events\Dispatcher|Illuminate\Events\EventDispatcher $instance Event dispatcher * @return bool */ protected function isEventDispatcher($instance)