Skip to content

Commit e9e50ca

Browse files
authored
Merge pull request #8 from Lan2Play/master
add toxic, datatype unknown
2 parents 7bfca60 + 3d56a12 commit e9e50ca

File tree

7 files changed

+15
-7
lines changed

7 files changed

+15
-7
lines changed

src/Challonge/DTO/Tournament.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ class Tournament extends DataTransferObject
9898
public bool $team_convertable;
9999
public bool $group_stages_were_started;
100100
public $team_size_range;
101+
public $toxic;
101102

102103
/**
103104
* Start a tournament, opening up first round matches for score reporting.

tests/stubs/tournament_create.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@
9191
"participants_swappable":false,
9292
"team_convertable":false,
9393
"group_stages_were_started":false,
94-
"team_size_range":null
94+
"team_size_range":null,
95+
"toxic":null
9596
}
9697
}

tests/stubs/tournament_fetch.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@
9191
"participants_swappable":false,
9292
"team_convertable":false,
9393
"group_stages_were_started":false,
94-
"team_size_range":null
94+
"team_size_range":null,
95+
"toxic":null
9596
}
9697
}

tests/stubs/tournament_finalize1.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@
9191
"participants_swappable":false,
9292
"team_convertable":false,
9393
"group_stages_were_started":false,
94-
"team_size_range":null
94+
"team_size_range":null,
95+
"toxic":null
9596
}
9697
}

tests/stubs/tournament_finalize2.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@
9191
"participants_swappable":false,
9292
"team_convertable":false,
9393
"group_stages_were_started":false,
94-
"team_size_range":null
94+
"team_size_range":null,
95+
"toxic":null
9596
}
9697
}

tests/stubs/tournament_index.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@
9292
"participants_swappable":false,
9393
"team_convertable":false,
9494
"group_stages_were_started":false,
95-
"team_size_range":null
95+
"team_size_range":null,
96+
"toxic":null
9697
}
9798
},
9899
{
@@ -188,7 +189,8 @@
188189
"participants_swappable":false,
189190
"team_convertable":false,
190191
"group_stages_were_started":false,
191-
"team_size_range":null
192+
"team_size_range":null,
193+
"toxic":null
192194
}
193195
}
194196
]

tests/stubs/tournament_start.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@
9191
"participants_swappable":false,
9292
"team_convertable":false,
9393
"group_stages_were_started":false,
94-
"team_size_range":null
94+
"team_size_range":null,
95+
"toxic":null
9596
}
9697
}

0 commit comments

Comments
 (0)