From a7c8d26d31cb1cf69e0e060c53622e545fcfbbb3 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Fri, 10 Apr 2020 16:48:31 +0200 Subject: Add visibility to all properties and move static keyword Signed-off-by: Christoph Wurst --- lib/private/Files/Cache/QuerySearchHelper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/private/Files/Cache/QuerySearchHelper.php') diff --git a/lib/private/Files/Cache/QuerySearchHelper.php b/lib/private/Files/Cache/QuerySearchHelper.php index 9f2d7aadd7e..f1e8aa978f4 100644 --- a/lib/private/Files/Cache/QuerySearchHelper.php +++ b/lib/private/Files/Cache/QuerySearchHelper.php @@ -36,7 +36,7 @@ use OCP\Files\Search\ISearchOrder; * Tools for transforming search queries into database queries */ class QuerySearchHelper { - static protected $searchOperatorMap = [ + protected static $searchOperatorMap = [ ISearchComparison::COMPARE_LIKE => 'iLike', ISearchComparison::COMPARE_EQUAL => 'eq', ISearchComparison::COMPARE_GREATER_THAN => 'gt', @@ -45,7 +45,7 @@ class QuerySearchHelper { ISearchComparison::COMPARE_LESS_THAN_EQUAL => 'lte' ]; - static protected $searchOperatorNegativeMap = [ + protected static $searchOperatorNegativeMap = [ ISearchComparison::COMPARE_LIKE => 'notLike', ISearchComparison::COMPARE_EQUAL => 'neq', ISearchComparison::COMPARE_GREATER_THAN => 'lte', -- cgit v1.2.3