Code Duplication    Length = 4-4 lines in 3 locations

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

@@ 345-348 (lines=4) @@
342
            $msg = "Scale must be a valid TScaleFacet: " . get_class($this);
343
            return false;
344
        }
345
        if (null != $this->sRID && !$this->isTSridFacetValid($this->sRID)) {
346
            $msg = "SRID must be a valid TSridFacet: " . get_class($this);
347
            return false;
348
        }
349
        if (null != $this->unicode && !$this->isTIsUnicodeFacetTraitValid($this->unicode)) {
350
            $msg = "Unicode must be a valid TUnicodeFacet: " . get_class($this);
351
            return false;

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

@@ 287-290 (lines=4) @@
284
            $msg = "Scale must be a valid TScaleFacet: " . get_class($this);
285
            return false;
286
        }
287
        if (null != $this->sRID && !$this->isTSridFacetValid($this->sRID)) {
288
            $msg = "SRID must be a valid TSRIDFacet: " . get_class($this);
289
            return false;
290
        }
291
292
        return true;
293
    }

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

@@ 520-523 (lines=4) @@
517
            $msg = "Collation must be a valid TCollationFacet: " . get_class($this);
518
            return false;
519
        }
520
        if (null != $this->sRID && !$this->isTSridFacetValid($this->sRID)) {
521
            $msg = "SRID must be a valid TSridFacet: " . get_class($this);
522
            return false;
523
        }
524
        if (null != $this->concurrencyMode && !$this->isTConcurrencyModeValid($this->concurrencyMode)) {
525
            $msg = "ConcurrencyMode must be a valid TConcurrencyMode: " . get_class($this);
526
            return false;