8
0

allow sender country is null

Dieser Commit ist enthalten in:
2022-07-14 16:04:26 +02:00
Ursprung 53c4561af5
Commit 407ac49a17

Datei anzeigen

@ -58,7 +58,7 @@ class Configuration
$country = trim(Registry::getConfig()->getConfigParam('d3linkmobility_smsSenderCountry'));
$country = strlen($country) ? strtoupper($country) : null;
Assert::that($country)->null() || Assert::that($country)->string()->length(2);
Assert::that($country)->nullOr() || Assert::that($country)->string()->length(2);
return $country;
}