Code Duplication    Length = 4-4 lines in 3 locations

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

@@ 337-340 (lines=4) @@
334
            $msg = "Fixed length must be a valid TFixedLengthFacet: " . get_class($this);
335
            return false;
336
        }
337
        if (null != $this->precision && !$this->isTPrecisionFacetValid($this->precision)) {
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;

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

@@ 279-282 (lines=4) @@
276
            $msg = "Max length must be a valid TMaxLengthFacet: " . get_class($this);
277
            return false;
278
        }
279
        if (null != $this->precision && !$this->isTPrecisionFacetValid($this->precision)) {
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;

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

@@ 504-507 (lines=4) @@
501
            $msg = "Max length must be a valid TFixedLengthFacet: " . get_class($this);
502
            return false;
503
        }
504
        if (null != $this->precision && !$this->isTPrecisionFacetValid($this->precision)) {
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;