mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Run phpcs locally to make sure phpstan stays fixed. [skip ci]
This commit is contained in:
@@ -106,6 +106,7 @@ class Amount
|
||||
/**
|
||||
* This method will properly format the given number, in color or "black and white",
|
||||
* as a currency, given two things: the currency required and the current locale.
|
||||
*
|
||||
* @throws FireflyException
|
||||
*/
|
||||
public function formatFlat(string $symbol, int $decimalPlaces, string $amount, ?bool $coloured = null): string
|
||||
@@ -175,6 +176,7 @@ class Amount
|
||||
if ($cache->has()) {
|
||||
return $cache->get();
|
||||
}
|
||||
|
||||
/** @var TransactionCurrency $default */
|
||||
$default = $userGroup->currencies()->where('group_default', true)->first();
|
||||
if (null === $default) {
|
||||
|
Reference in New Issue
Block a user