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

@@ 197-201 (lines=5) @@
194
			}
195
		}
196
197
		if (sizeof($or) > 1) {
198
			$this->data_source->where('(%or)', $or);
199
		} else {
200
			$this->data_source->where($or);
201
		}
202
	}
203
204