Code Duplication    Length = 4-4 lines in 2 locations

src/MetadataV3/edm/Groups/GInlineExpressionsTrait.php 2 locations

@@ 340-343 (lines=4) @@
337
            $msg = "Decimal must be decimal";
338
            return false;
339
        }
340
        if (null != $this->enum && !$this->isTQualifiedNameValid($this->enum)) {
341
            $msg = "Enum must be a valid TQualifiedName";
342
            return false;
343
        }
344
        if (null != $this->path && !$this->isTQualifiedNameValid($this->path)) {
345
            $msg = "Path must be a valid TQualifiedName";
346
            return false;
@@ 344-347 (lines=4) @@
341
            $msg = "Enum must be a valid TQualifiedName";
342
            return false;
343
        }
344
        if (null != $this->path && !$this->isTQualifiedNameValid($this->path)) {
345
            $msg = "Path must be a valid TQualifiedName";
346
            return false;
347
        }
348
        if (null != $this->dateTime && $this->dateTime !== $this->dateTime($this->dateTime)) {
349
            $msg = "DateTime must be a valid date/time";
350
            return false;