Code Duplication    Length = 12-12 lines in 2 locations

src/QueryBuilder.php 2 locations

@@ 98-109 (lines=12) @@
95
96
				return $result;
97
98
			case self::UPDATE:
99
				$result = $this->getUpdateClause();
100
101
				if ($where = $this->getWhereClause()) {
102
					$result .= ' ' . $where;
103
				}
104
105
				if ($limit = $this->getLimitClause()) {
106
					$result .= ' ' . $limit;
107
				}
108
109
				return $result;
110
111
			case self::DELETE:
112
				$result = $this->getDeleteClause();
@@ 111-122 (lines=12) @@
108
109
				return $result;
110
111
			case self::DELETE:
112
				$result = $this->getDeleteClause();
113
114
				if ($where = $this->getWhereClause()) {
115
					$result .= ' ' . $where;
116
				}
117
118
				if ($limit = $this->getLimitClause()) {
119
					$result .= ' ' . $limit;
120
				}
121
122
				return $result;
123
124
			default:
125
				return '';