@@ -125,7 +125,7 @@ public function getFilters(): array
125
125
new TwigFilter ('tsvField ' , [$ this , 'toTsvField ' ]),
126
126
new TwigFilter ('fileTypeIcon ' , [$ this , 'fileTypeIcon ' ]),
127
127
new TwigFilter ('problemBadge ' , [$ this , 'problemBadge ' ], ['is_safe ' => ['html ' ]]),
128
- new TwigFilter ('problemBadgeForProblemAndContest ' , [$ this , 'problemBadgeForProblemAndContest ' ], ['is_safe ' => ['html ' ]]),
128
+ new TwigFilter ('problemBadgeForContest ' , [$ this , 'problemBadgeForContest ' ], ['is_safe ' => ['html ' ]]),
129
129
new TwigFilter ('printMetadata ' , [$ this , 'printMetadata ' ], ['is_safe ' => ['html ' ]]),
130
130
new TwigFilter ('printWarningContent ' , [$ this , 'printWarningContent ' ], ['is_safe ' => ['html ' ]]),
131
131
new TwigFilter ('entityIdBadge ' , [$ this , 'entityIdBadge ' ], ['is_safe ' => ['html ' ]]),
@@ -1108,7 +1108,7 @@ public function problemBadge(ContestProblem $problem): string
1108
1108
);
1109
1109
}
1110
1110
1111
- public function problemBadgeForProblemAndContest (Problem $ problem , ?Contest $ contest = null ): string
1111
+ public function problemBadgeForContest (Problem $ problem , ?Contest $ contest = null ): string
1112
1112
{
1113
1113
$ contest ??= $ this ->dj ->getCurrentContest ();
1114
1114
$ contestProblem = $ contest ?->getContestProblem($ problem );
0 commit comments