File tree 1 file changed +2
-2
lines changed
Filter options
1 file changed +2
-2
lines changed
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ public static function onUndefinedFilter($name)
62
62
}
63
63
64
64
// Twig will append the source context to the message, so that it will end up being like "[...] Unknown filter "%s" in foo.html.twig on line 123."
65
- throw new SyntaxError (sprintf ('Did you forget to run "composer require symfony/%s"? Unknown filter "%s". ' , $ name , self ::$ filterComponents [$ name ]));
65
+ throw new SyntaxError (sprintf ('Did you forget to run "composer require symfony/%s"? Unknown filter "%s". ' , self ::$ filterComponents [$ name ], $ name ));
66
66
}
67
67
68
68
public static function onUndefinedFunction ($ name )
@@ -71,6 +71,6 @@ public static function onUndefinedFunction($name)
71
71
return false ;
72
72
}
73
73
74
- throw new SyntaxError (sprintf ('Did you forget to run "composer require symfony/%s"? Unknown function "%s". ' , $ name , self ::$ functionComponents [$ name ]));
74
+ throw new SyntaxError (sprintf ('Did you forget to run "composer require symfony/%s"? Unknown function "%s". ' , self ::$ functionComponents [$ name ], $ name ));
75
75
}
76
76
}
You can’t perform that action at this time.
0 commit comments