Code Duplication    Length = 4-4 lines in 2 locations

src/MetadataV3/edm/ssdl/EntityContainer/EntitySetAnonymousType.php 1 location

@@ 218-221 (lines=4) @@
215
            $msg = "Entity type must be a valid TQualifiedName";
216
            return false;
217
        }
218
        if (null != $this->schema && !$this->isTSimpleIdentifierValid($this->schema)) {
219
            $msg = "Schema must be a valid TSimpleIdentifier";
220
            return false;
221
        }
222
        if (null != $this->table && !$this->isTSimpleIdentifierValid($this->table)) {
223
            $msg = "Table must be a valid TSimpleIdentifier";
224
            return false;

src/MetadataV3/edm/ssdl/TFunctionType.php 1 location

@@ 541-544 (lines=4) @@
538
            $msg = "Name must be a valid TUndottedIdentifier";
539
            return false;
540
        }
541
        if (null != $this->schema && !$this->isTSimpleIdentifierValid($this->schema)) {
542
            $msg = "Schema must be a valid TSimpleIdentifier";
543
            return false;
544
        }
545
        if (null != $this->parameterTypeSemantics
546
            && !$this->isTParameterTypeSemanticsValid($this->parameterTypeSemantics)) {
547
            $msg = "Parameter type semantics must be a valid TParameterTypeSemantics";