From c5b6bceecbd58f8f4eee038babfaefbe15506ebc Mon Sep 17 00:00:00 2001 From: Vitaliy Dotsenko Date: Thu, 27 Jun 2019 18:19:24 +0300 Subject: [PATCH] Fixed passing the description and priority of the createFirewallRule method --- src/Endpoints/Firewall.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Endpoints/Firewall.php b/src/Endpoints/Firewall.php index 1734ff4..9c025da 100644 --- a/src/Endpoints/Firewall.php +++ b/src/Endpoints/Firewall.php @@ -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]);