Code Duplication    Length = 7-7 lines in 2 locations

src/Kunstmaan/PagePartBundle/DependencyInjection/Configuration.php 2 locations

@@ 89-95 (lines=7) @@
86
        $child = $this->getRowNode($name)->finalize($child);
87
    }
88
89
    protected function getRowNode($name = '')
90
    {
91
        $treeBuilder = new TreeBuilder();
92
        $definition = $treeBuilder->root($name);
93
        $this->buildRowNode($definition);
94
95
        return $definition->getNode(true);
96
    }
97
98
    protected function buildRowNode(NodeDefinition $node)
@@ 114-120 (lines=7) @@
111
        $child = $this->getRegionNode($name)->finalize($child);
112
    }
113
114
    protected function getRegionNode($name = '')
115
    {
116
        $treeBuilder = new TreeBuilder();
117
        $definition = $treeBuilder->root($name);
118
        $this->buildRegionNode($definition);
119
120
        return $definition->getNode(true);
121
    }
122
123
    protected function buildRegionNode(NodeDefinition $node)