Code Duplication    Length = 6-6 lines in 2 locations

src/DataSource/DoctrineDataSource.php 2 locations

@@ 135-140 (lines=6) @@
132
	{
133
		$p = $this->getPlaceholder();
134
135
		foreach ($condition as $column => $value) {
136
			$c = $this->checkAliases($column);
137
138
			$this->data_source->andWhere("$c = ?$p")
139
				->setParameter($p, $value);
140
		}
141
142
		return $this;
143
	}
@@ 277-282 (lines=6) @@
274
	{
275
		$p = $this->getPlaceholder();
276
277
		foreach ($filter->getCondition() as $column => $value) {
278
			$c = $this->checkAliases($column);
279
280
			$this->data_source->andWhere("$c = ?$p")
281
				->setParameter($p, $value);
282
		}
283
	}
284
285