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

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