Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 49-51 (lines=3) @@
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
        }
52
        if (isset($options['classnames']) && (null !== $options['classnames'])) {
53
            $this->setClassnames($options['classnames']);
54
        }

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

@@ 75-77 (lines=3) @@
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
        }
78
        if (isset($options['classnames']) && (null !== $options['classnames'])) {
79
            $this->setClassnames($options['classnames']);
80
        }