Code Duplication    Length = 4-4 lines in 2 locations

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

@@ 333-336 (lines=4) @@
330
            $msg = "Max length must be a valid TMaxLengthFacet: " . get_class($this);
331
            return false;
332
        }
333
        if (null != $this->fixedLength && !$this->isTIsFixedLengthFacetTraitValid($this->fixedLength)) {
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;

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

@@ 501-504 (lines=4) @@
498
            $msg = "Max length must be a valid TMaxLengthFacet: " . get_class($this);
499
            return false;
500
        }
501
        if (null != $this->fixedLength && !$this->isTIsFixedLengthFacetTraitValid($this->fixedLength)) {
502
            $msg = "Max length must be a valid TFixedLengthFacet: " . get_class($this);
503
            return false;
504
        }
505
        if (null != $this->precision && !$this->isTPrecisionFacetValid($this->precision)) {
506
            $msg = "Precision must be a valid TPrecisionFacet: " . get_class($this);
507
            return false;