Code Duplication    Length = 5-5 lines in 2 locations

src/DataSource/ArrayDataSource.php 2 locations

@@ 193-197 (lines=5) @@
190
		$condition = $filter->getCondition();
191
		$values = $condition[$filter->getColumn()];
192
193
		if ($values['from'] !== NULL && $values['from'] !== '') {
194
			if ($values['from'] > $row[$filter->getColumn()]) {
195
				return FALSE;
196
			}
197
		}
198
199
		if ($values['to'] !== NULL && $values['to'] !== '') {
200
			if ($values['to'] < $row[$filter->getColumn()]) {
@@ 199-203 (lines=5) @@
196
			}
197
		}
198
199
		if ($values['to'] !== NULL && $values['to'] !== '') {
200
			if ($values['to'] < $row[$filter->getColumn()]) {
201
				return FALSE;
202
			}
203
		}
204
205
		return TRUE;
206
	}