Code Duplication    Length = 6-6 lines in 2 locations

src/DataSource/DoctrineDataSource.php 2 locations

@@ 175-180 (lines=6) @@
172
	{
173
		$p = $this->getPlaceholder();
174
175
		foreach ($condition as $column => $value) {
176
			$c = $this->checkAliases($column);
177
178
			$this->data_source->andWhere("$c = ?$p")
179
				->setParameter($p, $value);
180
		}
181
182
		return $this;
183
	}
@@ 322-327 (lines=6) @@
319
	{
320
		$p = $this->getPlaceholder();
321
322
		foreach ($filter->getCondition() as $column => $value) {
323
			$c = $this->checkAliases($column);
324
325
			$this->data_source->andWhere("$c = ?$p")
326
				->setParameter($p, $value);
327
		}
328
	}
329
330