Code Duplication    Length = 4-4 lines in 2 locations

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

@@ 419-422 (lines=4) @@
416
            $msg = "Max length must be a valid TMaxLengthFacet";
417
            return false;
418
        }
419
        if (null != $this->fixedLength && !$this->isTIsFixedLengthFacetTraitValid($this->fixedLength)) {
420
            $msg = "Max length must be a valid TFixedLengthFacet";
421
            return false;
422
        }
423
        if (null != $this->precision && !$this->isTPrecisionFacetValid($this->precision)) {
424
            $msg = "Precision must be a valid TPrecisionFacet";
425
            return false;

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

@@ 274-277 (lines=4) @@
271
            $msg = "Max length must be a valid TMaxLengthFacet";
272
            return false;
273
        }
274
        if (null != $this->fixedLength && !$this->isTIsFixedLengthFacetTraitValid($this->maxLength)) {
275
            $msg = "Fixed length must be a valid TFixedLengthFacet";
276
            return false;
277
        }
278
        if (null != $this->precision && !$this->isTPrecisionFacetValid($this->precision)) {
279
            $msg = "Precision must be a valid TPrecisionFacet";
280
            return false;