Skip to content

Commit 8256bb9

Browse files
committed
Merge branch 'main' of https://github.com/laraflow/core into main
2 parents 3b70e49 + 73ddf10 commit 8256bb9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/Supports/Money.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2650,9 +2650,9 @@ public static function all(): array
26502650
/**
26512651
* Return Currency Formatted string from number
26522652
*
2653-
* @param mixed $amount
2654-
* @param string $currency
2655-
* @param bool $onlyCurrency
2653+
* @param mixed $amount
2654+
* @param string $currency
2655+
* @param bool $onlyCurrency
26562656
* @return string|null
26572657
*/
26582658
public static function format($amount = null, string $currency = self::USD, bool $onlyCurrency = false): ?string
@@ -2672,10 +2672,10 @@ public static function format($amount = null, string $currency = self::USD, bool
26722672
);
26732673

26742674
$amount = ($onlyCurrency == true)
2675-
? $currency . ' ' . $formattedAmount
2675+
? $currency.' '.$formattedAmount
26762676
: (($currencyConfig['symbol_first'] == true)
2677-
? $currencyConfig['symbol'] . ' ' . $formattedAmount
2678-
: $formattedAmount . ' ' . $currencyConfig['symbol']);
2677+
? $currencyConfig['symbol'].' '.$formattedAmount
2678+
: $formattedAmount.' '.$currencyConfig['symbol']);
26792679
}
26802680

26812681
return $amount;
@@ -2684,7 +2684,7 @@ public static function format($amount = null, string $currency = self::USD, bool
26842684
/**
26852685
* Return single currency
26862686
*
2687-
* @param string $name
2687+
* @param string $name
26882688
* @return array|null
26892689
*/
26902690
public static function get(string $name): ?array

0 commit comments

Comments
 (0)