File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
src/batch-symfony-framework/src/DependencyInjection Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ private function launcher(): ArrayNodeDefinition
132132 ->arrayNode ('launchers ' )
133133 ->defaultValue (['simple ' => 'simple://simple ' ])
134134 ->useAttributeAsKey ('name ' )
135- ->scalarPrototype ()
135+ ->scalarPrototype ()-> end ()
136136 ->validate ()
137137 ->ifTrue ($ isInvalidDsn )->thenInvalid ('Invalid job launcher DSN. ' )
138138 ->end ()
@@ -142,7 +142,7 @@ private function launcher(): ArrayNodeDefinition
142142 ->arrayNode ('routing ' )
143143 ->normalizeKeys (false )
144144 ->useAttributeAsKey ('name ' )
145- ->scalarPrototype ()
145+ ->scalarPrototype ()-> end ()
146146 ->end ()
147147 ->end ()
148148 ->end ()
@@ -176,12 +176,11 @@ private function parameters(): ArrayNodeDefinition
176176 ->children ()
177177 ->arrayNode ('global ' )
178178 ->useAttributeAsKey ('name ' )
179- ->variablePrototype ()
180- ->end ()
179+ ->variablePrototype ()->end ()
181180 ->end ()
182181 ->arrayNode ('per_job ' )
183182 ->useAttributeAsKey ('name ' )
184- ->variablePrototype ()
183+ ->variablePrototype ()-> end ()
185184 ->validate ()
186185 ->ifTrue (fn (mixed $ value ) => !$ isStringAssociativeArray ($ value ))
187186 ->thenInvalid ('Should be an array<string, mixed>. ' )
You can’t perform that action at this time.
0 commit comments