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

@@ 471-474 (lines=4) @@
468
            $msg = "Name must be a valid TUndottedIdentifier";
469
            return false;
470
        }
471
        if (null != $this->schema && !$this->isTSimpleIdentifierValid($this->schema)) {
472
            $msg = "Schema must be a valid TSimpleIdentifier";
473
            return false;
474
        }
475
        if (null != $this->parameterTypeSemantics
476
            && !$this->isTParameterTypeSemanticsValid($this->parameterTypeSemantics)) {
477
            $msg = "Parameter type semantics must be a valid TParameterTypeSemantics";