allow sender country is null
This commit is contained in:
parent
53c4561af5
commit
407ac49a17
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user