Code Duplication    Length = 3-3 lines in 2 locations

module/UIComponents/src/UIComponents/View/Helper/Components/Element.php 1 location

@@ 46-48 (lines=3) @@
43
            $this->setContainer($options['container']);
44
        }
45
    
46
        if (isset($options['tagname']) && (null !== $options['tagname'])) {
47
            $this->setTagname($options['tagname']);
48
        }
49
        if (isset($options['class']) && (null !== $options['class'])) {
50
            $this->setClassnames($options['class']);
51
        }

module/UIComponents/src/UIComponents/View/Helper/Components/Table.php 1 location

@@ 72-74 (lines=3) @@
69
            $this->setContainer($options['container']);
70
        }
71
    
72
        if (isset($options['tagname']) && (null !== $options['tagname'])) {
73
            $this->setTagname($options['tagname']);
74
        }
75
        if (isset($options['class']) && (null !== $options['class'])) {
76
            $this->setClassnames($options['class']);
77
        }