src/MetadataV3/edmx/TConnectorPointType.php 1 location
|
@@ 76-79 (lines=4) @@
|
| 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; |
| 79 |
|
} |
| 80 |
|
return true; |
| 81 |
|
} |
| 82 |
|
} |
src/MetadataV3/edmx/TEntityTypeShapeType.php 1 location
|
@@ 224-227 (lines=4) @@
|
| 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; |
| 227 |
|
} |
| 228 |
|
if (null != $this->width && (!is_numeric($this->width) || 0 >= $this->width)) { |
| 229 |
|
$msg = "Width value must be numeric and positive"; |
| 230 |
|
return false; |