src/MetadataV3/edm/ssdl/TEntityPropertyType.php 1 location
|
@@ 407-410 (lines=4) @@
|
| 404 |
|
$msg = "Max length must be positive and numeric"; |
| 405 |
|
return false; |
| 406 |
|
} |
| 407 |
|
if (null != $this->precision && !(is_numeric($this->precision) && 0 < $this->precision)) { |
| 408 |
|
$msg = "Precision must be positive and numeric"; |
| 409 |
|
return false; |
| 410 |
|
} |
| 411 |
|
if (null != $this->scale && !(is_numeric($this->scale) && 0 < $this->scale)) { |
| 412 |
|
$msg = "Scale must be positive and numeric"; |
| 413 |
|
return false; |
src/MetadataV3/edm/ssdl/TPropertyType.php 1 location
|
@@ 389-392 (lines=4) @@
|
| 386 |
|
$msg = "Max length must be numeric and non-negative"; |
| 387 |
|
return false; |
| 388 |
|
} |
| 389 |
|
if (null != $this->precision && !(is_numeric($this->precision) && 0 <= $this->precision)) { |
| 390 |
|
$msg = "Precision must be numeric and non-negative"; |
| 391 |
|
return false; |
| 392 |
|
} |
| 393 |
|
if (null != $this->scale && !(is_numeric($this->scale) && 0 <= $this->scale)) { |
| 394 |
|
$msg = "Scale must be numeric and non-negative"; |
| 395 |
|
return false; |