Code Duplication    Length = 4-4 lines in 2 locations

src/MetadataV3/edm/ssdl/TEntityPropertyType.php 1 location

@@ 415-418 (lines=4) @@
412
            $msg = "Scale must be positive and numeric";
413
            return false;
414
        }
415
        if (null != $this->collation && !$this->isStringNotNullOrEmpty($this->collation)) {
416
            $msg = "Collation cannot be empty";
417
            return false;
418
        }
419
        if (null != $this->sRID && !$this->isStringNotNullOrEmpty($this->sRID)) {
420
            $msg = "SRID cannot be empty";
421
            return false;

src/MetadataV3/edm/ssdl/TPropertyType.php 1 location

@@ 381-384 (lines=4) @@
378
            $msg = "SRID value cannot be empty";
379
            return false;
380
        }
381
        if (null != $this->collation && !$this->isStringNotNullOrEmpty($this->collation)) {
382
            $msg = "Collation value cannot be empty";
383
            return false;
384
        }
385
        if (null != $this->maxLength && !(is_numeric($this->maxLength) && 0 <= $this->maxLength)) {
386
            $msg = "Max length must be numeric and non-negative";
387
            return false;