Code Duplication    Length = 4-4 lines in 2 locations

src/MetadataV3/edmx/TConnectorPointType.php 1 location

@@ 72-75 (lines=4) @@
69
70
    public function isOK(&$msg = null)
71
    {
72
        if (null == $this->pointX || !is_numeric($this->pointX)) {
73
            $msg = "Point X value must be present and numeric";
74
            return false;
75
        }
76
        if (null == $this->pointY || !is_numeric($this->pointY)) {
77
            $msg = "Point X value must be present and numeric";
78
            return false;

src/MetadataV3/edmx/TEntityTypeShapeType.php 1 location

@@ 220-223 (lines=4) @@
217
            return false;
218
        }
219
220
        if (null != $this->pointX && !is_numeric($this->pointX)) {
221
            $msg = "Point X value must be numeric";
222
            return false;
223
        }
224
        if (null != $this->pointY && !is_numeric($this->pointY)) {
225
            $msg = "Point Y value must be numeric";
226
            return false;