Skip to content

Commit

Permalink
Merge pull request #8 from Lan2Play/master
Browse files Browse the repository at this point in the history
add toxic, datatype unknown
  • Loading branch information
xKairu authored May 18, 2021
2 parents 7bfca60 + 3d56a12 commit e9e50ca
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 7 deletions.
1 change: 1 addition & 0 deletions src/Challonge/DTO/Tournament.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ class Tournament extends DataTransferObject
public bool $team_convertable;
public bool $group_stages_were_started;
public $team_size_range;
public $toxic;

/**
* Start a tournament, opening up first round matches for score reporting.
Expand Down
3 changes: 2 additions & 1 deletion tests/stubs/tournament_create.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"participants_swappable":false,
"team_convertable":false,
"group_stages_were_started":false,
"team_size_range":null
"team_size_range":null,
"toxic":null
}
}
3 changes: 2 additions & 1 deletion tests/stubs/tournament_fetch.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"participants_swappable":false,
"team_convertable":false,
"group_stages_were_started":false,
"team_size_range":null
"team_size_range":null,
"toxic":null
}
}
3 changes: 2 additions & 1 deletion tests/stubs/tournament_finalize1.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"participants_swappable":false,
"team_convertable":false,
"group_stages_were_started":false,
"team_size_range":null
"team_size_range":null,
"toxic":null
}
}
3 changes: 2 additions & 1 deletion tests/stubs/tournament_finalize2.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"participants_swappable":false,
"team_convertable":false,
"group_stages_were_started":false,
"team_size_range":null
"team_size_range":null,
"toxic":null
}
}
6 changes: 4 additions & 2 deletions tests/stubs/tournament_index.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@
"participants_swappable":false,
"team_convertable":false,
"group_stages_were_started":false,
"team_size_range":null
"team_size_range":null,
"toxic":null
}
},
{
Expand Down Expand Up @@ -188,7 +189,8 @@
"participants_swappable":false,
"team_convertable":false,
"group_stages_were_started":false,
"team_size_range":null
"team_size_range":null,
"toxic":null
}
}
]
3 changes: 2 additions & 1 deletion tests/stubs/tournament_start.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"participants_swappable":false,
"team_convertable":false,
"group_stages_were_started":false,
"team_size_range":null
"team_size_range":null,
"toxic":null
}
}

0 comments on commit e9e50ca

Please sign in to comment.