From f623bdf17cfd902204b7b48e171580586424de21 Mon Sep 17 00:00:00 2001 From: Telesphore Date: Tue, 18 Sep 2018 12:14:41 +0200 Subject: [PATCH] Fix getYouthMatches function --- PHT/PHT.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PHT/PHT.php b/PHT/PHT.php index e9764a1..38b344a 100644 --- a/PHT/PHT.php +++ b/PHT/PHT.php @@ -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); } /**