Code Duplication    Length = 4-4 lines in 2 locations

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

@@ 439-442 (lines=4) @@
436
            $msg = "Collation must be a valid TCollationFacet";
437
            return false;
438
        }
439
        if (null != $this->sRID && !$this->isTSridFacetValid($this->sRID)) {
440
            $msg = "SRID must be a valid TSridFacet";
441
            return false;
442
        }
443
        if (null != $this->concurrencyMode && !$this->isTConcurrencyModeValid($this->concurrencyMode)) {
444
            $msg = "ConcurrencyMode must be a valid TConcurrencyMode";
445
            return false;

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

@@ 286-289 (lines=4) @@
283
            $msg = "Scale must be a valid TScaleFacet";
284
            return false;
285
        }
286
        if (null != $this->sRID && !$this->isTSridFacetValid($this->sRID)) {
287
            $msg = "SRID must be a valid TSridFacet";
288
            return false;
289
        }
290
        if (null != $this->unicode && !$this->isTIsUnicodeFacetTraitValid($this->unicode)) {
291
            $msg = "Unicode must be a valid TUnicodeFacet";
292
            return false;