@@ -125,7 +125,7 @@ public function getFilters(): array
125125 new TwigFilter ('tsvField ' , [$ this , 'toTsvField ' ]),
126126 new TwigFilter ('fileTypeIcon ' , [$ this , 'fileTypeIcon ' ]),
127127 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 ' ]]),
129129 new TwigFilter ('printMetadata ' , [$ this , 'printMetadata ' ], ['is_safe ' => ['html ' ]]),
130130 new TwigFilter ('printWarningContent ' , [$ this , 'printWarningContent ' ], ['is_safe ' => ['html ' ]]),
131131 new TwigFilter ('entityIdBadge ' , [$ this , 'entityIdBadge ' ], ['is_safe ' => ['html ' ]]),
@@ -1108,7 +1108,7 @@ public function problemBadge(ContestProblem $problem): string
11081108 );
11091109 }
11101110
1111- public function problemBadgeForProblemAndContest (Problem $ problem , ?Contest $ contest = null ): string
1111+ public function problemBadgeForContest (Problem $ problem , ?Contest $ contest = null ): string
11121112 {
11131113 $ contest ??= $ this ->dj ->getCurrentContest ();
11141114 $ contestProblem = $ contest ?->getContestProblem($ problem );
0 commit comments