From d95573976e4621512f03152c2d3f31fc056c480d Mon Sep 17 00:00:00 2001 From: Junade Ali Date: Sun, 18 Mar 2018 23:45:06 -0700 Subject: [PATCH] SOPS-161 :: Lint changes --- src/Endpoints/CustomHostnames.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Endpoints/CustomHostnames.php b/src/Endpoints/CustomHostnames.php index 9b562d3..3423afc 100644 --- a/src/Endpoints/CustomHostnames.php +++ b/src/Endpoints/CustomHostnames.php @@ -58,7 +58,7 @@ class CustomHostnames implements API public function listHostnames( string $zoneID, string $hostname = '', - string $id = '', + string $hostnameID = '', int $page = 1, int $perPage = 20, string $order = '', @@ -75,8 +75,8 @@ class CustomHostnames implements API $query['hostname'] = $hostname; } - if (!empty($id)) { - $query['id'] = $id; + if (!empty($hostnameID)) { + $query['id'] = $hostnameID; } if (!empty($order)) {