Fixed passing the description and priority of the createFirewallRule method

This commit is contained in:
Vitaliy Dotsenko
2019-06-27 18:19:24 +03:00
parent 89986cfb02
commit c5b6bceecb

View File

@@ -41,11 +41,11 @@ class Firewall implements API
];
if ($description !== null) {
$options['description'] = $description;
$rule['description'] = $description;
}
if ($priority !== null) {
$options['priority'] = $priority;
$rule['priority'] = $priority;
}
return $this->createFirewallRules($zoneID, [$rule]);