contains_only_latin argument is _optional_ string
This commit is contained in:
parent
187768c846
commit
f657aaba37
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue