Code Duplication    Length = 5-5 lines in 3 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

@@ 147-151 (lines=5) @@
144
			$or[] = "$column LIKE \"%$value%\"";
145
		}
146
147
		if (sizeof($or) > 1) {
148
			$this->data_source->where('(%or)', $or);
149
		} else {
150
			$this->data_source->where($or);
151
		}
152
	}
153
154

src/DataSource/DibiFluentPostgreDataSource.php 1 location

@@ 47-51 (lines=5) @@
44
			}
45
		}
46
47
		if (sizeof($or) > 1) {
48
			$this->data_source->where('(%or)', $or);
49
		} else {
50
			$this->data_source->where($or);
51
		}
52
	}
53
}
54