src/MetadataV3/edm/ssdl/TEntityPropertyType.php 1 location
|
@@ 388-391 (lines=4) @@
|
385 |
|
$msg = "Max length must be positive and numeric"; |
386 |
|
return false; |
387 |
|
} |
388 |
|
if (null != $this->precision && !(is_numeric($this->precision) && 0 < $this->precision)) { |
389 |
|
$msg = "Precision must be positive and numeric"; |
390 |
|
return false; |
391 |
|
} |
392 |
|
if (null != $this->scale && !(is_numeric($this->scale) && 0 < $this->scale)) { |
393 |
|
$msg = "Scale must be positive and numeric"; |
394 |
|
return false; |
src/MetadataV3/edm/ssdl/TPropertyType.php 1 location
|
@@ 368-371 (lines=4) @@
|
365 |
|
$msg = "Max length must be numeric and non-negative"; |
366 |
|
return false; |
367 |
|
} |
368 |
|
if (null != $this->precision && !(is_numeric($this->precision) && 0 <= $this->precision)) { |
369 |
|
$msg = "Precision must be numeric and non-negative"; |
370 |
|
return false; |
371 |
|
} |
372 |
|
if (null != $this->scale && !(is_numeric($this->scale) && 0 <= $this->scale)) { |
373 |
|
$msg = "Scale must be numeric and non-negative"; |
374 |
|
return false; |