diff --git a/PHT/Xml/World/League/Senior.php b/PHT/Xml/World/League/Senior.php index 80b9e07..beac9c7 100644 --- a/PHT/Xml/World/League/Senior.php +++ b/PHT/Xml/World/League/Senior.php @@ -144,16 +144,6 @@ public function getCurrentMatchRound() return $this->getXml()->getElementsByTagName('CurrentMatchRound')->item(0)->nodeValue; } - /** - * Return season number - * - * @return integer - */ - public function getSeason() - { - return $this->getXml()->getElementsByTagName('Season')->item(0)->nodeValue; - } - /** * Get current season details * @@ -161,6 +151,6 @@ public function getSeason() */ public function getCurrentSeason() { - return Wrapper\World\Season::senior($this->getId(), $this->getSeason()); + return Wrapper\World\Season::senior($this->getId(), null); } }