Code Duplication    Length = 3-3 lines in 4 locations

lib/Gnf/db/base.php 4 locations

@@ 158-160 (lines=3) @@
155
		if (is_a($value, '\Gnf\db\Helper\GnfSqlLikeBegin')) {
156
			return self::escapeColumnName($key) . ' like "' . $this->escapeLiteral($value->dat) . '%"';
157
		}
158
		if (is_a($value, '\Gnf\db\Helper\GnfSqlGreater')) {
159
			return self::escapeColumnName($key) . ' > ' . $this->escapeItemExceptNull($value->dat, $key);
160
		}
161
		if (is_a($value, '\Gnf\db\Helper\GnfSqlLesser')) {
162
			return self::escapeColumnName($key) . ' < ' . $this->escapeItemExceptNull($value->dat, $key);
163
		}
@@ 161-163 (lines=3) @@
158
		if (is_a($value, '\Gnf\db\Helper\GnfSqlGreater')) {
159
			return self::escapeColumnName($key) . ' > ' . $this->escapeItemExceptNull($value->dat, $key);
160
		}
161
		if (is_a($value, '\Gnf\db\Helper\GnfSqlLesser')) {
162
			return self::escapeColumnName($key) . ' < ' . $this->escapeItemExceptNull($value->dat, $key);
163
		}
164
		if (is_a($value, '\Gnf\db\Helper\GnfSqlGreaterEqual')) {
165
			return self::escapeColumnName($key) . ' >= ' . $this->escapeItemExceptNull($value->dat, $key);
166
		}
@@ 164-166 (lines=3) @@
161
		if (is_a($value, '\Gnf\db\Helper\GnfSqlLesser')) {
162
			return self::escapeColumnName($key) . ' < ' . $this->escapeItemExceptNull($value->dat, $key);
163
		}
164
		if (is_a($value, '\Gnf\db\Helper\GnfSqlGreaterEqual')) {
165
			return self::escapeColumnName($key) . ' >= ' . $this->escapeItemExceptNull($value->dat, $key);
166
		}
167
		if (is_a($value, '\Gnf\db\Helper\GnfSqlLesserEqual')) {
168
			return self::escapeColumnName($key) . ' <= ' . $this->escapeItemExceptNull($value->dat, $key);
169
		}
@@ 167-169 (lines=3) @@
164
		if (is_a($value, '\Gnf\db\Helper\GnfSqlGreaterEqual')) {
165
			return self::escapeColumnName($key) . ' >= ' . $this->escapeItemExceptNull($value->dat, $key);
166
		}
167
		if (is_a($value, '\Gnf\db\Helper\GnfSqlLesserEqual')) {
168
			return self::escapeColumnName($key) . ' <= ' . $this->escapeItemExceptNull($value->dat, $key);
169
		}
170
		if (is_a($value, '\Gnf\db\Helper\GnfSqlBetween')) {
171
			return self::escapeColumnName($key) . ' between ' . $this->escapeItemExceptNull($value->dat, $key) . ' and ' .
172
				$this->escapeItemExceptNull(