mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2025-04-06 22:53:36 +03:00
Require ips passed to Domain::create are strings
This commit is contained in:
parent
086afb49b7
commit
3bc8dac64d
1 changed files with 1 additions and 0 deletions
|
@ -116,6 +116,7 @@ class Domain extends HttpApi
|
|||
|
||||
if (null !== $ips) {
|
||||
Assert::isList($ips);
|
||||
Assert::allString($ips);
|
||||
|
||||
$params['ips'] = join(',', $ips);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue