summaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/lib/Settings
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 16:51:06 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 16:51:06 +0200
commit1584c9ae9c23d2a7915750ef9203cba0bcebf766 (patch)
tree568db931f631afd6e96772cf2b3ac539c989ec42 /apps/workflowengine/lib/Settings
parenta7c8d26d31cb1cf69e0e060c53622e545fcfbbb3 (diff)
downloadnextcloud-server-1584c9ae9c23d2a7915750ef9203cba0bcebf766.tar.gz
nextcloud-server-1584c9ae9c23d2a7915750ef9203cba0bcebf766.zip
Add visibility to all methods and position of static keyword
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/workflowengine/lib/Settings')
-rw-r--r--apps/workflowengine/lib/Settings/ASettings.php2
-rw-r--r--apps/workflowengine/lib/Settings/Admin.php2
-rw-r--r--apps/workflowengine/lib/Settings/Personal.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/workflowengine/lib/Settings/ASettings.php b/apps/workflowengine/lib/Settings/ASettings.php
index b2db7d12364..a3f2ad2495f 100644
--- a/apps/workflowengine/lib/Settings/ASettings.php
+++ b/apps/workflowengine/lib/Settings/ASettings.php
@@ -83,7 +83,7 @@ abstract class ASettings implements ISettings {
$this->config = $config;
}
- abstract function getScope(): int;
+ abstract public function getScope(): int;
/**
* @return TemplateResponse
diff --git a/apps/workflowengine/lib/Settings/Admin.php b/apps/workflowengine/lib/Settings/Admin.php
index 11e9096bc56..cc6269c168b 100644
--- a/apps/workflowengine/lib/Settings/Admin.php
+++ b/apps/workflowengine/lib/Settings/Admin.php
@@ -28,7 +28,7 @@ namespace OCA\WorkflowEngine\Settings;
use OCP\WorkflowEngine\IManager;
class Admin extends ASettings {
- function getScope(): int {
+ public function getScope(): int {
return IManager::SCOPE_ADMIN;
}
}
diff --git a/apps/workflowengine/lib/Settings/Personal.php b/apps/workflowengine/lib/Settings/Personal.php
index af922726121..8d95dba5de8 100644
--- a/apps/workflowengine/lib/Settings/Personal.php
+++ b/apps/workflowengine/lib/Settings/Personal.php
@@ -28,7 +28,7 @@ namespace OCA\WorkflowEngine\Settings;
use OCP\WorkflowEngine\IManager;
class Personal extends ASettings {
- function getScope(): int {
+ public function getScope(): int {
return IManager::SCOPE_USER;
}