Skip to content

Commit

Permalink
Fix getYouthMatches function
Browse files Browse the repository at this point in the history
  • Loading branch information
jetwitaussi authored Sep 18, 2018
1 parent 021d957 commit f623bdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PHT/PHT.php
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ public function getYouthMatches($teamId = null, $showBeforeDate = null)
if ($teamId === null) {
$teamId = $this->findSeniorTeam()->getYouthTeamId();
}
return Wrapper\Team\Senior::matches($teamId, $showBeforeDate);
return Wrapper\Team\Youth::matches($teamId, $showBeforeDate);
}

/**
Expand Down

0 comments on commit f623bdf

Please sign in to comment.