Code Duplication    Length = 6-6 lines in 2 locations

src/DataSource/DoctrineDataSource.php 2 locations

@@ 285-290 (lines=6) @@
282
	{
283
		$p = $this->getPlaceholder();
284
285
		foreach ($filter->getCondition() as $column => $value) {
286
			$c = $this->checkAliases($column);
287
288
			$this->data_source->andWhere("$c = ?$p")
289
				->setParameter($p, $value);
290
		}
291
	}
292
293
@@ 138-143 (lines=6) @@
135
	{
136
		$p = $this->getPlaceholder();
137
138
		foreach ($condition as $column => $value) {
139
			$c = $this->checkAliases($column);
140
141
			$this->data_source->andWhere("$c = ?$p")
142
				->setParameter($p, $value);
143
		}
144
145
		return $this;
146
	}