Code Duplication    Length = 9-9 lines in 2 locations

src/Application/Model/Components/ElemInput.php 1 location

@@ 109-117 (lines=9) @@
106
     *
107
     * @return ElemInput
108
     */
109
    public function setStyles(Styles $oStyles = null)
110
    {
111
        if (is_null($oStyles)) {
112
            $oStyles = new Styles();
113
        }
114
        $this->oStyles = $oStyles;
115
116
        return $this;
117
    }
118
119
    /**
120
     * @param int $iMaxLength

src/Application/Model/Components/ElemSelect.php 1 location

@@ 65-73 (lines=9) @@
62
     *
63
     * @return \mrcnpdlk\Grandstream\XMLApp\Application\Model\Components\ElemSelect
64
     */
65
    public function setStyles(Styles $oStyles = null)
66
    {
67
        if (is_null($oStyles)) {
68
            $oStyles = new Styles();
69
        }
70
        $this->oStyles = $oStyles;
71
72
        return $this;
73
    }
74
75
    /**
76
     * @return \mrcnpdlk\Grandstream\XMLApp\MyXML