Fix
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
Details
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
Details
This commit is contained in:
parent
327acd3c13
commit
b3ae18d6d3
|
|
@ -7,7 +7,6 @@ use DMD\LaLigaApi\Entity\League;
|
|||
|
||||
class LeagueDto
|
||||
{
|
||||
|
||||
public int $id;
|
||||
public string $name;
|
||||
public string $city;
|
||||
|
|
@ -40,7 +39,7 @@ class LeagueDto
|
|||
'description' => $this->description ?? null,
|
||||
'matchesBetweenTeams' => $this->matchesBetweenTeams ?? [],
|
||||
'blockedMatchDates' => $this->blockedMatchDates ?? [],
|
||||
'active' => $this->active ?? null,
|
||||
'active' => $this->active,
|
||||
'isPublic' => $this->isPublic ?? null,
|
||||
'seasonIdList' => $seasonIdList,
|
||||
'presidentId' => $this->presidentId ?? null,
|
||||
|
|
@ -134,6 +133,10 @@ class LeagueDto
|
|||
{
|
||||
$this->logo = $leagueObj->getLogo();
|
||||
}
|
||||
if ($leagueObj->isActive() !== null)
|
||||
{
|
||||
$this->active = $leagueObj->isActive();
|
||||
}
|
||||
if ($leagueObj->getMatchesBetweenTeams() !== null)
|
||||
{
|
||||
$this->matchesBetweenTeams = $leagueObj->getMatchesBetweenTeams();
|
||||
|
|
|
|||
Loading…
Reference in New Issue