@@ -109,7 +109,7 @@ public function getFilters(): array
109
109
new TwigFilter ('tsvField ' , $ this ->toTsvField (...)),
110
110
new TwigFilter ('fileTypeIcon ' , $ this ->fileTypeIcon (...)),
111
111
new TwigFilter ('problemBadge ' , $ this ->problemBadge (...), ['is_safe ' => ['html ' ]]),
112
- new TwigFilter ('problemBadgeForProblemAndContest ' , $ this ->problemBadgeForProblemAndContest (...), ['is_safe ' => ['html ' ]]),
112
+ new TwigFilter ('problemBadgeForContest ' , $ this ->problemBadgeForContest (...), ['is_safe ' => ['html ' ]]),
113
113
new TwigFilter ('printMetadata ' , $ this ->printMetadata (...), ['is_safe ' => ['html ' ]]),
114
114
new TwigFilter ('printWarningContent ' , $ this ->printWarningContent (...), ['is_safe ' => ['html ' ]]),
115
115
new TwigFilter ('entityIdBadge ' , $ this ->entityIdBadge (...), ['is_safe ' => ['html ' ]]),
@@ -1084,7 +1084,7 @@ public function problemBadge(ContestProblem $problem): string
1084
1084
);
1085
1085
}
1086
1086
1087
- public function problemBadgeForProblemAndContest (Problem $ problem , ?Contest $ contest = null ): string
1087
+ public function problemBadgeForContest (Problem $ problem , ?Contest $ contest = null ): string
1088
1088
{
1089
1089
$ contest ??= $ this ->dj ->getCurrentContest ();
1090
1090
$ contestProblem = $ contest ?->getContestProblem($ problem );
0 commit comments