File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
src/TwigComponent/src/DependencyInjection Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ public function getConfigTreeBuilder(): TreeBuilder
155155 ->always (function ($ v ) {
156156 foreach ($ v as $ namespace => $ defaults ) {
157157 if (!str_ends_with ($ namespace , '\\' )) {
158- throw new InvalidConfigurationException (sprintf ('The twig_component.defaults namespace "%s" is invalid: it must end in a "\" ' , $ namespace ));
158+ throw new InvalidConfigurationException (sprintf ('The twig_component.defaults namespace "%s" is invalid: it must end in a "\". ' , $ namespace ));
159159 }
160160 }
161161
@@ -182,9 +182,6 @@ public function getConfigTreeBuilder(): TreeBuilder
182182 ->scalarNode ('anonymous_template_directory ' )
183183 ->info ('Defaults to `components` ' )
184184 ->end ()
185- ->scalarNode ('controllers_json ' )
186- ->defaultValue ('%kernel.project_dir%/assets/controllers.json ' )
187- ->end ()
188185 ->end ();
189186
190187 return $ treeBuilder ;
You can’t perform that action at this time.
0 commit comments