Fix phpstan issues.

This commit is contained in:
James Cole
2025-01-03 18:16:27 +01:00
parent fe4d139817
commit 3898c0c0ef
60 changed files with 13 additions and 74 deletions

View File

@@ -106,10 +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
*
* @SuppressWarnings(PHPMD.MissingImport)
*/
public function formatFlat(string $symbol, int $decimalPlaces, string $amount, ?bool $coloured = null): string
{
@@ -229,8 +226,6 @@ class Amount
/**
* @throws FireflyException
*
* @SuppressWarnings(PHPMD.MissingImport)
*/
private function getLocaleInfo(): array
{