Code Duplication    Length = 4-4 lines in 3 locations

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

@@ 341-344 (lines=4) @@
338
            $msg = "Precision must be a valid TPrecisionFacet: " . get_class($this);
339
            return false;
340
        }
341
        if (null != $this->scale && !$this->isTScaleFacetValid($this->scale)) {
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;

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

@@ 283-286 (lines=4) @@
280
            $msg = "Precision must be a valid TPrecisionFacet: " . get_class($this);
281
            return false;
282
        }
283
        if (null != $this->scale && !$this->isTScaleFacetValid($this->scale)) {
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;

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

@@ 508-511 (lines=4) @@
505
            $msg = "Precision must be a valid TPrecisionFacet: " . get_class($this);
506
            return false;
507
        }
508
        if (null != $this->scale && !$this->isTScaleFacetValid($this->scale)) {
509
            $msg = "Scale must be a valid TScaleFacet: " . get_class($this);
510
            return false;
511
        }
512
        if (null != $this->unicode && !$this->isTIsUnicodeFacetTraitValid($this->unicode)) {
513
            $msg = "Unicode must be a valid TUnicodeFacet: " . get_class($this);
514
            return false;