Code Duplication    Length = 4-4 lines in 3 locations

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

@@ 415-418 (lines=4) @@
412
            $msg = "Default value must be a string";
413
            return false;
414
        }
415
        if (null != $this->maxLength && !$this->isTMaxLengthFacetValid($this->maxLength)) {
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;

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

@@ 270-273 (lines=4) @@
267
            $msg = "Default value must be a string";
268
            return false;
269
        }
270
        if (null != $this->maxLength && !$this->isTMaxLengthFacetValid($this->maxLength)) {
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;

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

@@ 221-224 (lines=4) @@
218
            $msg = "Mode must be a valid TParameterMode";
219
            return false;
220
        }
221
        if (null != $this->maxLength && !$this->isTMaxLengthFacetValid($this->maxLength)) {
222
            $msg = "Max length must be a valid TMaxLengthFacet";
223
            return false;
224
        }
225
        if (null != $this->precision && !$this->isTPrecisionFacetValid($this->precision)) {
226
            $msg = "Precision must be a valid TPrecisionFacet";
227
            return false;