Fix phpstan errors

This commit is contained in:
James Cole
2023-11-26 12:24:37 +01:00
parent 938446ede3
commit 846c60fb85
10 changed files with 48 additions and 36 deletions

View File

@@ -51,7 +51,7 @@ class Amount
*/
public function formatAnything(TransactionCurrency $format, string $amount, bool $coloured = null): string
{
return $this->formatFlat($format->symbol, (int)$format->decimal_places, $amount, $coloured);
return $this->formatFlat($format->symbol, $format->decimal_places, $amount, $coloured);
}
/**