Code Duplication    Length = 4-4 lines in 2 locations

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

@@ 184-187 (lines=4) @@
181
            $msg = "Namespace must be valid TQualifiedName";
182
            return false;
183
        }
184
        if (null != $this->alias && !$this->isTSimpleIdentifierValid($this->alias)) {
185
            $msg = "Alias must be valid TSimpleIdentifier";
186
            return false;
187
        }
188
        if (!$this->isTSimpleIdentifierValid($this->providerManifestToken)) {
189
            $msg = "Provider manifest token must be valid TSimpleIdentifier";
190
            return false;

src/MetadataV3/edm/TSchemaType.php 1 location

@@ 103-106 (lines=4) @@
100
            $msg = "Namespace url must be a valid url";
101
            return false;
102
        }
103
        if (null != $this->alias && !$this->isTSimpleIdentifierValid($this->alias)) {
104
            $msg = "Alias must be a valid TSimpleIdentifier";
105
            return false;
106
        }
107
        if (!$this->isGSchemaBodyElementsValid($msg)) {
108
            return false;
109
        }