diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-10 16:54:27 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-10 16:54:27 +0200 |
commit | 28f8eb5dba60a75f7e22debbdc26f1d3164deb18 (patch) | |
tree | 5bb8a104ec6b5af821b81cf392c69167deca4c0a /lib/private/Log/ExceptionSerializer.php | |
parent | 1584c9ae9c23d2a7915750ef9203cba0bcebf766 (diff) | |
download | nextcloud-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/private/Log/ExceptionSerializer.php')
-rw-r--r-- | lib/private/Log/ExceptionSerializer.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Log/ExceptionSerializer.php b/lib/private/Log/ExceptionSerializer.php index 50544d7149c..237d33cfefa 100644 --- a/lib/private/Log/ExceptionSerializer.php +++ b/lib/private/Log/ExceptionSerializer.php @@ -32,7 +32,7 @@ use OC\HintException; use OC\Setup; class ExceptionSerializer { - const methodsWithSensitiveParameters = [ + public const methodsWithSensitiveParameters = [ // Session/User 'completeLogin', 'login', @@ -86,7 +86,7 @@ class ExceptionSerializer { 'update', ]; - const methodsWithSensitiveParametersByClass = [ + public const methodsWithSensitiveParametersByClass = [ SetupController::class => [ 'run', 'display', |