From d9c0a27b7dcb768b6b7be747489653cd1a1c46e6 Mon Sep 17 00:00:00 2001 From: Paul Adams Date: Sat, 23 Mar 2019 07:46:41 +0000 Subject: [PATCH] Update ZoneSettings.php Fixed variable length --- src/Endpoints/ZoneSettings.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Endpoints/ZoneSettings.php b/src/Endpoints/ZoneSettings.php index 03c66d9..a32b84f 100644 --- a/src/Endpoints/ZoneSettings.php +++ b/src/Endpoints/ZoneSettings.php @@ -89,7 +89,7 @@ class ZoneSettings implements API return false; } - public function updateMinifySetting($zoneID, $html, $css, $js) + public function updateMinifySetting($zoneID, $html, $css, $javascript) { $return = $this->adapter->patch( 'zones/' . $zoneID . '/settings/minify', @@ -97,7 +97,7 @@ class ZoneSettings implements API 'value' => [ 'html' => $html, 'css' => $css, - 'js' => $js, + 'js' => $javascript, ], ] );