src/MetadataV3/edm/Groups/GExpressionTrait.php 1 location
|
@@ 749-752 (lines=4) @@
|
746 |
|
} |
747 |
|
} |
748 |
|
|
749 |
|
if (null != $this->guid && !$this->isTGuidLiteralValid($this->guid)) { |
750 |
|
$msg = "Guid must be a valid TGuidLiteral"; |
751 |
|
return false; |
752 |
|
} |
753 |
|
|
754 |
|
if (null != $this->enum && !$this->isTQualifiedNameValid($this->enum)) { |
755 |
|
$msg = "Enum must be a valid TQualifiedName"; |
src/MetadataV3/edm/Groups/GInlineExpressionsTrait.php 1 location
|
@@ 383-386 (lines=4) @@
|
380 |
|
$msg = "Float must be floating-point"; |
381 |
|
return false; |
382 |
|
} |
383 |
|
if (null != $this->guid && !$this->isTGuidLiteralValid($this->guid)) { |
384 |
|
$msg = "Guid must be valid GUID"; |
385 |
|
return false; |
386 |
|
} |
387 |
|
if (null != $this->bool && $this->bool !== boolval($this->bool)) { |
388 |
|
$msg = "Bool must be boolean"; |
389 |
|
return false; |