Code Duplication    Length = 4-4 lines in 3 locations

src/MetadataV3/edm/Groups/TCommonPropertyAttributesTrait.php 1 location

@@ 499-502 (lines=4) @@
496
            $msg = "Collation must be a valid TCollationFacet";
497
            return false;
498
        }
499
        if (null != $this->sRID && !$this->isTSridFacetValid($this->sRID)) {
500
            $msg = "SRID must be a valid TSridFacet";
501
            return false;
502
        }
503
        if (null != $this->concurrencyMode && !$this->isTConcurrencyModeValid($this->concurrencyMode)) {
504
            $msg = "ConcurrencyMode must be a valid TConcurrencyMode";
505
            return false;

src/MetadataV3/edm/Groups/TFacetAttributesTrait.php 1 location

@@ 331-334 (lines=4) @@
328
            $msg = "Scale must be a valid TScaleFacet";
329
            return false;
330
        }
331
        if (null != $this->sRID && !$this->isTSridFacetValid($this->sRID)) {
332
            $msg = "SRID must be a valid TSridFacet";
333
            return false;
334
        }
335
        if (null != $this->unicode && !$this->isTIsUnicodeFacetTraitValid($this->unicode)) {
336
            $msg = "Unicode must be a valid TUnicodeFacet";
337
            return false;

src/MetadataV3/edm/Groups/TFunctionImportParameterAttributesTrait.php 1 location

@@ 268-271 (lines=4) @@
265
            $msg = "Scale must be a valid TScaleFacet";
266
            return false;
267
        }
268
        if (null != $this->sRID && !$this->isTSridFacetValid($this->sRID)) {
269
            $msg = "SRID must be a valid TSRIDFacet";
270
            return false;
271
        }
272
273
        return true;
274
    }