mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2025-02-18 05:43:15 +03:00
Require ips passed to Domain::create are strings
This commit is contained in:
parent
086afb49b7
commit
3bc8dac64d
@ -116,6 +116,7 @@ class Domain extends HttpApi
|
||||
|
||||
if (null !== $ips) {
|
||||
Assert::isList($ips);
|
||||
Assert::allString($ips);
|
||||
|
||||
$params['ips'] = join(',', $ips);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user