Code Duplication    Length = 9-9 lines in 2 locations

src/MetadataV3/edmx/TEntityTypeShapeType.php 2 locations

@@ 145-153 (lines=9) @@
142
     * @param float $width
143
     * @return self
144
     */
145
    public function setWidth($width)
146
    {
147
        if (null != $width && (!is_numeric($width) || 0 >= $width)) {
148
            $msg = "Width value must be numeric and positive";
149
            throw new \InvalidArgumentException($msg);
150
        }
151
        $this->width = $width;
152
        return $this;
153
    }
154
155
    /**
156
     * Gets as height
@@ 171-179 (lines=9) @@
168
     * @param float $height
169
     * @return self
170
     */
171
    public function setHeight($height)
172
    {
173
        if (null != $height && (!is_numeric($height) || 0 >= $height)) {
174
            $msg = "Height value must be numeric and positive";
175
            throw new \InvalidArgumentException($msg);
176
        }
177
        $this->height = $height;
178
        return $this;
179
    }
180
181
    /**
182
     * Gets as isExpanded