Code Duplication    Length = 4-4 lines in 3 locations

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;

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

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

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

@@ 275-278 (lines=4) @@
272
            $msg = "Collation must be a valid TCollationFacet";
273
            return false;
274
        }
275
        if (null != $this->maxLength && !$this->isTMaxLengthFacetValid($this->maxLength)) {
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;