@@ -108,7 +108,7 @@ public function getFilters(): array
108108 new TwigFilter ('tsvField ' , $ this ->toTsvField (...)),
109109 new TwigFilter ('fileTypeIcon ' , $ this ->fileTypeIcon (...)),
110110 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 ' ]]),
112112 new TwigFilter ('printMetadata ' , $ this ->printMetadata (...), ['is_safe ' => ['html ' ]]),
113113 new TwigFilter ('printWarningContent ' , $ this ->printWarningContent (...), ['is_safe ' => ['html ' ]]),
114114 new TwigFilter ('entityIdBadge ' , $ this ->entityIdBadge (...), ['is_safe ' => ['html ' ]]),
@@ -1093,7 +1093,7 @@ public function problemBadge(ContestProblem $problem): string
10931093 );
10941094 }
10951095
1096- public function problemBadgeForProblemAndContest (Problem $ problem , ?Contest $ contest = null ): string
1096+ public function problemBadgeForContest (Problem $ problem , ?Contest $ contest = null ): string
10971097 {
10981098 $ contest ??= $ this ->dj ->getCurrentContest ();
10991099 $ contestProblem = $ contest ?->getContestProblem($ problem );
0 commit comments