@@ -108,7 +108,7 @@ public function getFilters(): array
108
108
new TwigFilter ('tsvField ' , $ this ->toTsvField (...)),
109
109
new TwigFilter ('fileTypeIcon ' , $ this ->fileTypeIcon (...)),
110
110
new TwigFilter ('problemBadge ' , $ this ->problemBadge (...), ['is_safe ' => ['html ' ]]),
111
- new TwigFilter ('problemBadgeForProblemAndContest ' , $ this ->problemBadgeForProblemAndContest (...), ['is_safe ' => ['html ' ]]),
111
+ new TwigFilter ('problemBadgeForContest ' , $ this ->problemBadgeForContest (...), ['is_safe ' => ['html ' ]]),
112
112
new TwigFilter ('printMetadata ' , $ this ->printMetadata (...), ['is_safe ' => ['html ' ]]),
113
113
new TwigFilter ('printWarningContent ' , $ this ->printWarningContent (...), ['is_safe ' => ['html ' ]]),
114
114
new TwigFilter ('entityIdBadge ' , $ this ->entityIdBadge (...), ['is_safe ' => ['html ' ]]),
@@ -1093,7 +1093,7 @@ public function problemBadge(ContestProblem $problem): string
1093
1093
);
1094
1094
}
1095
1095
1096
- public function problemBadgeForProblemAndContest (Problem $ problem , ?Contest $ contest = null ): string
1096
+ public function problemBadgeForContest (Problem $ problem , ?Contest $ contest = null ): string
1097
1097
{
1098
1098
$ contest ??= $ this ->dj ->getCurrentContest ();
1099
1099
$ contestProblem = $ contest ?->getContestProblem($ problem );
0 commit comments