Code Duplication    Length = 4-4 lines in 2 locations

src/MetadataV3/edmx/TConnectorPointType.php 1 location

@@ 80-83 (lines=4) @@
77
78
    public function isOK(&$msg = null)
79
    {
80
        if (null == $this->pointX || !is_numeric($this->pointX)) {
81
            $msg = "Point X value must be present and numeric";
82
            return false;
83
        }
84
        if (null == $this->pointY || !is_numeric($this->pointY)) {
85
            $msg = "Point X value must be present and numeric";
86
            return false;

src/MetadataV3/edmx/TEntityTypeShapeType.php 1 location

@@ 244-247 (lines=4) @@
241
            return false;
242
        }
243
244
        if (null != $this->pointX && !is_numeric($this->pointX)) {
245
            $msg = "Point X value must be numeric";
246
            return false;
247
        }
248
        if (null != $this->pointY && !is_numeric($this->pointY)) {
249
            $msg = "Point Y value must be numeric";
250
            return false;