Code Duplication    Length = 6-6 lines in 2 locations

src/DataSource/DoctrineDataSource.php 2 locations

@@ 111-116 (lines=6) @@
108
	{
109
		$p = $this->getPlaceholder();
110
111
		foreach ($condition as $column => $value) {
112
			$c = $this->checkAliases($column);
113
114
			$this->data_source->andWhere("$c = ?$p")
115
				->setParameter($p, $value);
116
		}
117
118
		return $this;
119
	}
@@ 239-244 (lines=6) @@
236
	{
237
		$p = $this->getPlaceholder();
238
239
		foreach ($filter->getCondition() as $column => $value) {
240
			$c = $this->checkAliases($column);
241
242
			$this->data_source->andWhere("$c = ?$p")
243
				->setParameter($p, $value);
244
		}
245
	}
246
247