Skip to content

Commit

Permalink
Merge branch 'v3' of https://github.com/jetwitaussi/PHT into v3
Browse files Browse the repository at this point in the history
  • Loading branch information
jetwitaussi committed Jun 17, 2020
2 parents 69af693 + 30f4676 commit a151d98
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions PHT/Xml/World/League/Senior.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,23 +144,13 @@ 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
*
* @return \PHT\Xml\World\League\Season\Senior
*/
public function getCurrentSeason()
{
return Wrapper\World\Season::senior($this->getId(), $this->getSeason());
return Wrapper\World\Season::senior($this->getId(), null);
}
}

0 comments on commit a151d98

Please sign in to comment.