Code Duplication    Length = 5-5 lines in 2 locations

src/DataSource/DibiFluentMssqlDataSource.php 1 location

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

src/DataSource/DibiFluentDataSource.php 1 location

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