Code Duplication    Length = 4-4 lines in 3 locations

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

@@ 233-236 (lines=4) @@
230
            $msg = "Scale must be a valid TScaleFacet";
231
            return false;
232
        }
233
        if (null != $this->sRID && !$this->isTSridFacetValid($this->sRID)) {
234
            $msg = "SRID must be a valid TSRIDFacet";
235
            return false;
236
        }
237
238
        return true;
239
    }

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

@@ 444-447 (lines=4) @@
441
            $msg = "Collation must be a valid TCollationFacet";
442
            return false;
443
        }
444
        if (null != $this->sRID && !$this->isTSridFacetValid($this->sRID)) {
445
            $msg = "SRID must be a valid TSridFacet";
446
            return false;
447
        }
448
        if (null != $this->concurrencyMode && !$this->isTConcurrencyModeValid($this->concurrencyMode)) {
449
            $msg = "ConcurrencyMode must be a valid TConcurrencyMode";
450
            return false;

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

@@ 291-294 (lines=4) @@
288
            $msg = "Scale must be a valid TScaleFacet";
289
            return false;
290
        }
291
        if (null != $this->sRID && !$this->isTSridFacetValid($this->sRID)) {
292
            $msg = "SRID must be a valid TSridFacet";
293
            return false;
294
        }
295
        if (null != $this->unicode && !$this->isTIsUnicodeFacetTraitValid($this->unicode)) {
296
            $msg = "Unicode must be a valid TUnicodeFacet";
297
            return false;