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

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