aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Search
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 16:54:27 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 16:54:27 +0200
commit28f8eb5dba60a75f7e22debbdc26f1d3164deb18 (patch)
tree5bb8a104ec6b5af821b81cf392c69167deca4c0a /lib/public/Search
parent1584c9ae9c23d2a7915750ef9203cba0bcebf766 (diff)
downloadnextcloud-server-28f8eb5dba60a75f7e22debbdc26f1d3164deb18.tar.gz
nextcloud-server-28f8eb5dba60a75f7e22debbdc26f1d3164deb18.zip
Add visibility to all constants
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/public/Search')
-rw-r--r--lib/public/Search/PagedProvider.php2
-rw-r--r--lib/public/Search/Provider.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/Search/PagedProvider.php b/lib/public/Search/PagedProvider.php
index 17e8aef337c..ee8d1b12508 100644
--- a/lib/public/Search/PagedProvider.php
+++ b/lib/public/Search/PagedProvider.php
@@ -36,7 +36,7 @@ abstract class PagedProvider extends Provider {
* show all results
* @since 8.0.0
*/
- const SIZE_ALL = 0;
+ public const SIZE_ALL = 0;
/**
* Constructor
diff --git a/lib/public/Search/Provider.php b/lib/public/Search/Provider.php
index bc6f76a11c2..18594eefb8f 100644
--- a/lib/public/Search/Provider.php
+++ b/lib/public/Search/Provider.php
@@ -36,7 +36,7 @@ abstract class Provider {
/**
* @since 8.0.0
*/
- const OPTION_APPS = 'apps';
+ public const OPTION_APPS = 'apps';
/**
* List of options