Code Duplication    Length = 3-3 lines in 4 locations

module/UIComponents/src/UIComponents/View/Helper/Components/Element.php 2 locations

@@ 63-65 (lines=3) @@
60
            $this->setAttributes($options['attributes']);
61
        }
62
63
        if (isset($options['content']) && (null !== $options['content'])) {
64
            $this->setContent($options['content']);
65
        }
66
        if (isset($options['children']) && (null !== $options['children'])) {
67
            $this->setContent($options['children']);
68
        }
@@ 66-68 (lines=3) @@
63
        if (isset($options['content']) && (null !== $options['content'])) {
64
            $this->setContent($options['content']);
65
        }
66
        if (isset($options['children']) && (null !== $options['children'])) {
67
            $this->setContent($options['children']);
68
        }
69
        
70
        $component = clone $this;
71
        return $component;

module/UIComponents/src/UIComponents/View/Helper/Components/Table.php 2 locations

@@ 89-91 (lines=3) @@
86
            $this->setAttributes($options['attributes']);
87
        }
88
89
        if (isset($options['content']) && (null !== $options['content'])) {
90
            $this->setContent($options['content']);
91
        }
92
        if (isset($options['children']) && (null !== $options['children'])) {
93
            $this->setContent($options['children']);
94
        }
@@ 92-94 (lines=3) @@
89
        if (isset($options['content']) && (null !== $options['content'])) {
90
            $this->setContent($options['content']);
91
        }
92
        if (isset($options['children']) && (null !== $options['children'])) {
93
            $this->setContent($options['children']);
94
        }
95
        
96
        $this->tags = (object)$this->tags;
97