From a0ad088d79b85d3aa77e58c72543b87dba2644dc Mon Sep 17 00:00:00 2001 From: BuildTools Date: Tue, 1 Dec 2015 12:31:12 +0000 Subject: [PATCH] Changed to https to negate http 301 error & fixed typo on guildList() --- class.wynncraftAPI.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/class.wynncraftAPI.php b/class.wynncraftAPI.php index 24c691c..e4307c1 100644 --- a/class.wynncraftAPI.php +++ b/class.wynncraftAPI.php @@ -15,7 +15,7 @@ class wynncraftAPI * * @const string */ - const apiUrl = 'http://api.wynncraft.com/public_api.php?'; + const apiUrl = 'https://api.wynncraft.com/public_api.php?'; /** * The format the api call should be returned as @@ -165,7 +165,7 @@ public function guildStats($guild) { * @return array|mixed|string * @throws Exception */ - public function guildList()) { + public function guildList() { return $this->apiCommand('guildList'); }