diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2021-03-05 15:02:35 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2021-03-08 08:56:53 +0100 |
commit | 109b84b025f75d84845a4a5a299861242d4fa43f (patch) | |
tree | 53d3caa5628efc5dc4a79d37c1476e589302f2ed /apps/admin_audit/lib/Actions/AppManagement.php | |
parent | f5dc657e941e23a98ef8f040d61149a671bcb5da (diff) | |
download | nextcloud-server-109b84b025f75d84845a4a5a299861242d4fa43f.tar.gz nextcloud-server-109b84b025f75d84845a4a5a299861242d4fa43f.zip |
Add return type to functions
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/admin_audit/lib/Actions/AppManagement.php')
-rw-r--r-- | apps/admin_audit/lib/Actions/AppManagement.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/admin_audit/lib/Actions/AppManagement.php b/apps/admin_audit/lib/Actions/AppManagement.php index e0d447b1d64..d4340a1c7bd 100644 --- a/apps/admin_audit/lib/Actions/AppManagement.php +++ b/apps/admin_audit/lib/Actions/AppManagement.php @@ -32,7 +32,7 @@ class AppManagement extends Action { /** * @param string $appName */ - public function enableApp(string $appName) { + public function enableApp(string $appName): void { $this->log('App "%s" enabled', ['app' => $appName], ['app'] @@ -43,7 +43,7 @@ class AppManagement extends Action { * @param string $appName * @param string[] $groups */ - public function enableAppForGroups(string $appName, array $groups) { + public function enableAppForGroups(string $appName, array $groups): void { $this->log('App "%1$s" enabled for groups: %2$s', ['app' => $appName, 'groups' => implode(', ', $groups)], ['app', 'groups'] @@ -53,7 +53,7 @@ class AppManagement extends Action { /** * @param string $appName */ - public function disableApp(string $appName) { + public function disableApp(string $appName): void { $this->log('App "%s" disabled', ['app' => $appName], ['app'] |