Code Duplication    Length = 2-2 lines in 2 locations

lib/private/Files/Cache/QuerySearchHelper.php 2 locations

@@ 95-96 (lines=2) @@
92
					} else {
93
						throw new \InvalidArgumentException('Binary operators inside "not" is not supported');
94
					}
95
				case ISearchBinaryOperator::OPERATOR_AND:
96
					return $expr->andX($this->searchOperatorToDBExpr($builder, $operator->getArguments()[0]), $this->searchOperatorToDBExpr($builder, $operator->getArguments()[1]));
97
				case ISearchBinaryOperator::OPERATOR_OR:
98
					return $expr->orX($this->searchOperatorToDBExpr($builder, $operator->getArguments()[0]), $this->searchOperatorToDBExpr($builder, $operator->getArguments()[1]));
99
				default:
@@ 97-98 (lines=2) @@
94
					}
95
				case ISearchBinaryOperator::OPERATOR_AND:
96
					return $expr->andX($this->searchOperatorToDBExpr($builder, $operator->getArguments()[0]), $this->searchOperatorToDBExpr($builder, $operator->getArguments()[1]));
97
				case ISearchBinaryOperator::OPERATOR_OR:
98
					return $expr->orX($this->searchOperatorToDBExpr($builder, $operator->getArguments()[0]), $this->searchOperatorToDBExpr($builder, $operator->getArguments()[1]));
99
				default:
100
					throw new \InvalidArgumentException('Invalid operator type: ' . $operator->getType());
101
			}