src/MetadataV3/edm/Groups/GInlineExpressionsTrait.php 1 location
|
@@ 336-339 (lines=4) @@
|
333 |
|
$msg = "Guid must be valid GUID: " . get_class($this); |
334 |
|
return false; |
335 |
|
} |
336 |
|
if (null != $this->bool && $this->bool !== boolval($this->bool)) { |
337 |
|
$msg = "Bool must be boolean: " . get_class($this); |
338 |
|
return false; |
339 |
|
} |
340 |
|
if (null != $this->decimal && $this->decimal !== floatval($this->decimal)) { |
341 |
|
$msg = "Decimal must be decimal: " . get_class($this); |
342 |
|
return false; |
src/MetadataV3/edm/Groups/TFacetAttributesTrait.php 1 location
|
@@ 317-320 (lines=4) @@
|
314 |
|
|
315 |
|
public function isTFacetAttributesTraitValid(&$msg = null) |
316 |
|
{ |
317 |
|
if ($this->nullable !== boolval($this->nullable)) { |
318 |
|
$msg = "Nullable must be boolean: " . get_class($this); |
319 |
|
return false; |
320 |
|
} |
321 |
|
if (null != $this->defaultValue && !is_string($this->defaultValue)) { |
322 |
|
$msg = "Default value must be a string: " . get_class($this); |
323 |
|
return false; |
src/MetadataV3/edm/Groups/TCommonPropertyAttributesTrait.php 1 location
|
@@ 488-491 (lines=4) @@
|
485 |
|
$msg = "Type must be a valid TPropertyType: " . get_class($this); |
486 |
|
return false; |
487 |
|
} |
488 |
|
if (null != $this->nullable && $this->nullable !== boolval($this->nullable)) { |
489 |
|
$msg = "Nullable must be boolean: " . get_class($this); |
490 |
|
return false; |
491 |
|
} |
492 |
|
if (null != $this->defaultValue && !is_string($this->defaultValue)) { |
493 |
|
$msg = "Default value must be a string: " . get_class($this); |
494 |
|
return false; |