Allows custom Currency Provider through inheritance #172
Annotations
7 errors
PossiblyInvalidArgument:
src/Currency.php#L88
src/Currency.php:88:59: PossiblyInvalidArgument: Argument 1 of Brick\Money\CurrencyProviderInterface::getCurrency expects string, but possibly different type int|string provided (see https://psalm.dev/092)
|
ParamNameMismatch:
src/ISOCurrencyProvider.php#L150
src/ISOCurrencyProvider.php:150:50: ParamNameMismatch: Argument 1 of Brick\Money\ISOCurrencyProvider::getCurrencyForCountry has wrong name $countryCode, expecting $currencyCode as defined by Brick\Money\CurrencyProviderInterface::getCurrencyForCountry (see https://psalm.dev/230)
|
PossiblyInvalidArgument:
src/Money.php#L184
src/Money.php:184:68: PossiblyInvalidArgument: Argument 1 of Brick\Money\CurrencyProviderInterface::getCurrency expects string, but possibly different type int|string provided (see https://psalm.dev/092)
|
PossiblyInvalidArgument:
src/Money.php#L227
src/Money.php:227:68: PossiblyInvalidArgument: Argument 1 of Brick\Money\CurrencyProviderInterface::getCurrency expects string, but possibly different type int|string provided (see https://psalm.dev/092)
|
PossiblyInvalidArgument:
src/Money.php#L253
src/Money.php:253:68: PossiblyInvalidArgument: Argument 1 of Brick\Money\CurrencyProviderInterface::getCurrency expects string, but possibly different type int|string provided (see https://psalm.dev/092)
|
PossiblyInvalidArgument:
src/Money.php#L737
src/Money.php:737:68: PossiblyInvalidArgument: Argument 1 of Brick\Money\CurrencyProviderInterface::getCurrency expects string, but possibly different type int|string provided (see https://psalm.dev/092)
|
Psalm
Process completed with exit code 2.
|