Code Duplication    Length = 5-5 lines in 2 locations

src/DataSource/DibiFluentDataSource.php 1 location

@@ 192-196 (lines=5) @@
189
			}
190
		}
191
192
		if (sizeof($or) > 1) {
193
			$this->data_source->where('(%or)', $or);
194
		} else {
195
			$this->data_source->where($or);
196
		}
197
	}
198
199

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