@@ -39,16 +39,16 @@ public function __construct(string|FileLinkFormatter $fileLinkFormat, string $pr
3939 public function getFilters (): array
4040 {
4141 return [
42- new TwigFilter ('abbr_class ' , [ $ this , ' abbrClass ' ] , ['is_safe ' => ['html ' ]]),
43- new TwigFilter ('abbr_method ' , [ $ this , ' abbrMethod ' ] , ['is_safe ' => ['html ' ]]),
44- new TwigFilter ('format_args ' , [ $ this , ' formatArgs ' ] , ['is_safe ' => ['html ' ]]),
45- new TwigFilter ('format_args_as_text ' , [ $ this , ' formatArgsAsText ' ] ),
46- new TwigFilter ('file_excerpt ' , [ $ this , ' fileExcerpt ' ] , ['is_safe ' => ['html ' ]]),
47- new TwigFilter ('format_file ' , [ $ this , ' formatFile ' ] , ['is_safe ' => ['html ' ]]),
48- new TwigFilter ('format_file_from_text ' , [ $ this , ' formatFileFromText ' ] , ['is_safe ' => ['html ' ]]),
49- new TwigFilter ('format_log_message ' , [ $ this , ' formatLogMessage ' ] , ['is_safe ' => ['html ' ]]),
50- new TwigFilter ('file_link ' , [ $ this , ' getFileLink ' ] ),
51- new TwigFilter ('file_relative ' , [ $ this , ' getFileRelative ' ] ),
42+ new TwigFilter ('abbr_class ' , $ this -> abbrClass (...) , ['is_safe ' => ['html ' ]]),
43+ new TwigFilter ('abbr_method ' , $ this -> abbrMethod (...) , ['is_safe ' => ['html ' ]]),
44+ new TwigFilter ('format_args ' , $ this -> formatArgs (...) , ['is_safe ' => ['html ' ]]),
45+ new TwigFilter ('format_args_as_text ' , $ this -> formatArgsAsText (...) ),
46+ new TwigFilter ('file_excerpt ' , $ this -> fileExcerpt (...) , ['is_safe ' => ['html ' ]]),
47+ new TwigFilter ('format_file ' , $ this -> formatFile (...) , ['is_safe ' => ['html ' ]]),
48+ new TwigFilter ('format_file_from_text ' , $ this -> formatFileFromText (...) , ['is_safe ' => ['html ' ]]),
49+ new TwigFilter ('format_log_message ' , $ this -> formatLogMessage (...) , ['is_safe ' => ['html ' ]]),
50+ new TwigFilter ('file_link ' , $ this -> getFileLink (...) ),
51+ new TwigFilter ('file_relative ' , $ this -> getFileRelative (...) ),
5252 ];
5353 }
5454
0 commit comments