Code Duplication    Length = 4-4 lines in 2 locations

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

@@ 369-372 (lines=4) @@
366
            $msg = "Scale must be positive and numeric";
367
            return false;
368
        }
369
        if (null != $this->collation && !$this->isStringNotNullOrEmpty($this->collation)) {
370
            $msg = "Collation cannot be empty";
371
            return false;
372
        }
373
        if (null != $this->sRID && !$this->isStringNotNullOrEmpty($this->sRID)) {
374
            $msg = "SRID cannot be empty";
375
            return false;

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

@@ 333-336 (lines=4) @@
330
            $msg = "SRID value cannot be empty";
331
            return false;
332
        }
333
        if (null != $this->collation && !$this->isStringNotNullOrEmpty($this->collation)) {
334
            $msg = "Collation value cannot be empty";
335
            return false;
336
        }
337
        if (null != $this->maxLength && !(is_numeric($this->maxLength) && 0 <= $this->maxLength)) {
338
            $msg = "Max length must be numeric and non-negative";
339
            return false;