Code Duplication    Length = 4-4 lines in 2 locations

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

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

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

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