contains_only_latin argument is _optional_ string

This commit is contained in:
Harald Welte 2023-12-02 22:58:43 +01:00
parent 187768c846
commit f657aaba37
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ use SmcAddressLatin\Core\Checkout\Cart\Error\ShippingAddressInvalidCharactersErr
class SmcCartValidator implements CartValidatorInterface
{
private static function contains_only_latin(string $input): bool {
private static function contains_only_latin(?string $input): bool {
if ($input === null) {
return true;
}