File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1010
1111class ObjectTypeDefinition extends TypeWithOutputFieldsDefinition
1212{
13+ protected const CONFIG_NAME = '_object_config ' ;
14+
1315 public function getDefinition (): ArrayNodeDefinition
1416 {
15- $ builder = new TreeBuilder (' _object_config ' , 'array ' );
17+ $ builder = new TreeBuilder (static :: CONFIG_NAME , 'array ' );
1618
1719 /** @var ArrayNodeDefinition $node */
1820 $ node = $ builder ->getRootNode ();
1921
2022 /** @phpstan-ignore-next-line */
2123 $ node
2224 ->children ()
23- ->append ($ this ->validationSection (self ::VALIDATION_LEVEL_CLASS ))
25+ ->append ($ this ->validationSection (static ::VALIDATION_LEVEL_CLASS ))
2426 ->append ($ this ->nameSection ())
2527 ->append ($ this ->outputFieldsSection ())
2628 ->append ($ this ->fieldsBuilderSection ())
You can’t perform that action at this time.
0 commit comments