Skip to content

Commit b1e16f7

Browse files
authored
Merge pull request #14 from clamburger/patch-1
Allow the `optional` field in MatchDto to be null
2 parents ed5ea21 + cd512c5 commit b1e16f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Challonge/DTO/MatchDto.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class MatchDto extends DataTransferObject
2828
public ?string $open_graph_image_file_name;
2929
public ?string $open_graph_image_content_type;
3030
public ?string $open_graph_image_file_size;
31-
public bool $optional;
31+
public ?bool $optional;
3232
public ?int $player1_id;
3333
public bool $player1_is_prereq_match_loser;
3434
public ?int $player1_prereq_match_id;

0 commit comments

Comments
 (0)