mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix some scrutiniser issues.
This commit is contained in:
@@ -90,11 +90,11 @@ class Amount
|
||||
$pos_c = $sign;
|
||||
}
|
||||
|
||||
// default: (amount before currency)
|
||||
// default is amount before currency
|
||||
$format = $pos_a . $pos_d . '%v' . $space . $pos_b . '%s' . $pos_c . $pos_e;
|
||||
|
||||
if ($csPrecedes) {
|
||||
// (currency before amount)
|
||||
// alternative is currency before amount
|
||||
$format = $pos_a . $pos_b . '%s' . $pos_c . $space . $pos_d . '%v' . $pos_e;
|
||||
}
|
||||
Log::debug(sprintf('Final format: "%s"', $format));
|
||||
|
||||
@@ -285,7 +285,6 @@ class ExpandedForm
|
||||
|
||||
/**
|
||||
* @param $name
|
||||
* @param null $value
|
||||
* @param array $options
|
||||
*
|
||||
* @return string
|
||||
|
||||
Reference in New Issue
Block a user