Code Duplication    Length = 9-9 lines in 2 locations

src/MetadataV3/edmx/TConnectorPointType.php 1 location

@@ 68-76 (lines=9) @@
65
     * @param float $pointY
66
     * @return self
67
     */
68
    public function setPointY($pointY)
69
    {
70
        if (null == $pointY || !is_numeric($pointY)) {
71
            $msg = "Point Y value must be present and numeric";
72
            throw new \InvalidArgumentException($msg);
73
        }
74
        $this->pointY = $pointY;
75
        return $this;
76
    }
77
78
    public function isOK(&$msg = null)
79
    {

src/MetadataV3/edmx/TEntityTypeShapeType.php 1 location

@@ 119-127 (lines=9) @@
116
     * @param float $pointY
117
     * @return self
118
     */
119
    public function setPointY($pointY)
120
    {
121
        if (null != $pointY && !is_numeric($pointY)) {
122
            $msg = "Point Y value must be numeric";
123
            throw new \InvalidArgumentException($msg);
124
        }
125
        $this->pointY = $pointY;
126
        return $this;
127
    }
128
129
    /**
130
     * Gets as width