8
0
Fork 1

allow sender country is null

Dieser Commit ist enthalten in:
Daniel Seifert 2022-07-14 16:04:26 +02:00
Ursprung 53c4561af5
Commit 407ac49a17
Signiert von: DanielS
GPG-Schlüssel-ID: 8A7C4C6ED1915C6F
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen

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;
}