Code Duplication    Length = 5-5 lines in 2 locations

src/DataSource/DibiFluentMssqlDataSource.php 1 location

@@ 139-143 (lines=5) @@
136
			$or[] = "$column LIKE \"%$value%\"";
137
		}
138
139
		if (sizeof($or) > 1) {
140
			$this->data_source->where('(%or)', $or);
141
		} else {
142
			$this->data_source->where($or);
143
		}
144
	}
145
146

src/DataSource/DibiFluentDataSource.php 1 location

@@ 202-206 (lines=5) @@
199
			}
200
		}
201
202
		if (sizeof($or) > 1) {
203
			$this->data_source->where('(%or)', $or);
204
		} else {
205
			$this->data_source->where($or);
206
		}
207
	}
208
209