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

@@ 500-503 (lines=4) @@
497
            $msg = "Max length must be a valid TMaxLengthFacet: " . get_class($this);
498
            return false;
499
        }
500
        if (null != $this->fixedLength && !$this->isTIsFixedLengthFacetTraitValid($this->fixedLength)) {
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;