src/MetadataV3/edmx/TConnectorPointType.php 1 location
|
@@ 84-87 (lines=4) @@
|
| 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; |
| 87 |
|
} |
| 88 |
|
return true; |
| 89 |
|
} |
| 90 |
|
} |
src/MetadataV3/edmx/TEntityTypeShapeType.php 1 location
|
@@ 248-251 (lines=4) @@
|
| 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; |
| 251 |
|
} |
| 252 |
|
if (null != $this->width && (!is_numeric($this->width) || 0 >= $this->width)) { |
| 253 |
|
$msg = "Width value must be numeric and positive"; |
| 254 |
|
return false; |