Code Duplication    Length = 6-6 lines in 2 locations

src/DataSource/DoctrineDataSource.php 2 locations

@@ 145-150 (lines=6) @@
142
	{
143
		$p = $this->getPlaceholder();
144
145
		foreach ($condition as $column => $value) {
146
			$c = $this->checkAliases($column);
147
148
			$this->data_source->andWhere("$c = ?$p")
149
				->setParameter($p, $value);
150
		}
151
152
		return $this;
153
	}
@@ 282-287 (lines=6) @@
279
	{
280
		$p = $this->getPlaceholder();
281
282
		foreach ($filter->getCondition() as $column => $value) {
283
			$c = $this->checkAliases($column);
284
285
			$this->data_source->andWhere("$c = ?$p")
286
				->setParameter($p, $value);
287
		}
288
	}
289
290