diff options
Diffstat (limited to 'apps/admin_audit/lib/Actions/AppManagement.php')
-rw-r--r-- | apps/admin_audit/lib/Actions/AppManagement.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/admin_audit/lib/Actions/AppManagement.php b/apps/admin_audit/lib/Actions/AppManagement.php index e12ff2f694e..7831c850a89 100644 --- a/apps/admin_audit/lib/Actions/AppManagement.php +++ b/apps/admin_audit/lib/Actions/AppManagement.php @@ -1,4 +1,5 @@ <?php +declare(strict_types=1); /** * @copyright Copyright (c) 2017 Joas Schilling <coding@schilljs.com> * @@ -28,7 +29,7 @@ class AppManagement extends Action { /** * @param string $appName */ - public function enableApp($appName) { + public function enableApp(string $appName) { $this->log('App "%s" enabled', ['app' => $appName], ['app'] @@ -39,7 +40,7 @@ class AppManagement extends Action { * @param string $appName * @param string[] $groups */ - public function enableAppForGroups($appName, array $groups) { + public function enableAppForGroups(string $appName, array $groups) { $this->log('App "%s" enabled for groups: %s', ['app' => $appName, 'groups' => implode(', ', $groups)], ['app', 'groups'] @@ -49,7 +50,7 @@ class AppManagement extends Action { /** * @param string $appName */ - public function disableApp($appName) { + public function disableApp(string $appName) { $this->log('App "%s" disabled', ['app' => $appName], ['app'] |