Code Duplication    Length = 2-2 lines in 2 locations

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

@@ 75-76 (lines=2) @@
72
					} else {
73
						throw new \InvalidArgumentException('Binary operators inside "not" is not supported');
74
					}
75
				case ISearchBinaryOperator::OPERATOR_AND:
76
					return $expr->andX($this->searchOperatorToDBExpr($builder, $operator->getArguments()[0]), $this->searchOperatorToDBExpr($builder, $operator->getArguments()[1]));
77
				case ISearchBinaryOperator::OPERATOR_OR:
78
					return $expr->orX($this->searchOperatorToDBExpr($builder, $operator->getArguments()[0]), $this->searchOperatorToDBExpr($builder, $operator->getArguments()[1]));
79
				default:
@@ 77-78 (lines=2) @@
74
					}
75
				case ISearchBinaryOperator::OPERATOR_AND:
76
					return $expr->andX($this->searchOperatorToDBExpr($builder, $operator->getArguments()[0]), $this->searchOperatorToDBExpr($builder, $operator->getArguments()[1]));
77
				case ISearchBinaryOperator::OPERATOR_OR:
78
					return $expr->orX($this->searchOperatorToDBExpr($builder, $operator->getArguments()[0]), $this->searchOperatorToDBExpr($builder, $operator->getArguments()[1]));
79
				default:
80
					throw new \InvalidArgumentException('Invalid operator type: ' . $operator->getType());
81
			}