Code Duplication    Length = 9-9 lines in 2 locations

src/MetadataV3/edmx/TConnectorPointType.php 1 location

@@ 42-50 (lines=9) @@
39
     * @param float $pointX
40
     * @return self
41
     */
42
    public function setPointX($pointX)
43
    {
44
        if (null == $pointX || !is_numeric($pointX)) {
45
            $msg = "Point X value must be present and numeric";
46
            throw new \InvalidArgumentException($msg);
47
        }
48
        $this->pointX = $pointX;
49
        return $this;
50
    }
51
52
    /**
53
     * Gets as pointY

src/MetadataV3/edmx/TEntityTypeShapeType.php 1 location

@@ 93-101 (lines=9) @@
90
     * @param float $pointX
91
     * @return self
92
     */
93
    public function setPointX($pointX)
94
    {
95
        if (null != $pointX && !is_numeric($pointX)) {
96
            $msg = "Point X value must be numeric";
97
            throw new \InvalidArgumentException($msg);
98
        }
99
        $this->pointX = $pointX;
100
        return $this;
101
    }
102
103
    /**
104
     * Gets as pointY