aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command/App
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2024-08-23 15:10:27 +0200
committerDaniel Kesselberg <mail@danielkesselberg.de>2024-08-25 19:34:58 +0200
commitaf6de04e9e141466dc229e444ff3f146f4a34765 (patch)
tree7b93f521865cdecdadb33637dea33bea242e7969 /core/Command/App
parent1cc6b3577fdbeadece7e4e6478e7f7755555b41a (diff)
downloadnextcloud-server-af6de04e9e141466dc229e444ff3f146f4a34765.tar.gz
nextcloud-server-af6de04e9e141466dc229e444ff3f146f4a34765.zip
style: update codestyle for coding-standard 1.2.3
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'core/Command/App')
-rw-r--r--core/Command/App/Enable.php2
-rw-r--r--core/Command/App/GetPath.php2
-rw-r--r--core/Command/App/Install.php2
-rw-r--r--core/Command/App/Update.php2
4 files changed, 4 insertions, 4 deletions
diff --git a/core/Command/App/Enable.php b/core/Command/App/Enable.php
index e34417599e2..b351a14c39e 100644
--- a/core/Command/App/Enable.php
+++ b/core/Command/App/Enable.php
@@ -57,7 +57,7 @@ class Enable extends Command implements CompletionAwareInterface {
protected function execute(InputInterface $input, OutputInterface $output): int {
$appIds = $input->getArgument('app-id');
$groups = $this->resolveGroupIds($input->getOption('groups'));
- $forceEnable = (bool) $input->getOption('force');
+ $forceEnable = (bool)$input->getOption('force');
foreach ($appIds as $appId) {
$this->enableApp($appId, $groups, $forceEnable, $output);
diff --git a/core/Command/App/GetPath.php b/core/Command/App/GetPath.php
index 5eedcbe4182..442af2f3570 100644
--- a/core/Command/App/GetPath.php
+++ b/core/Command/App/GetPath.php
@@ -40,7 +40,7 @@ class GetPath extends Base {
/**
* Executes the current command.
*
- * @param InputInterface $input An InputInterface instance
+ * @param InputInterface $input An InputInterface instance
* @param OutputInterface $output An OutputInterface instance
* @return int 0 if everything went fine, or an error code
*/
diff --git a/core/Command/App/Install.php b/core/Command/App/Install.php
index aa263a8f3bf..4e9c846cbd4 100644
--- a/core/Command/App/Install.php
+++ b/core/Command/App/Install.php
@@ -56,7 +56,7 @@ class Install extends Command {
protected function execute(InputInterface $input, OutputInterface $output): int {
$appId = $input->getArgument('app-id');
- $forceEnable = (bool) $input->getOption('force');
+ $forceEnable = (bool)$input->getOption('force');
if ($this->appManager->isInstalled($appId)) {
$output->writeln($appId . ' already installed');
diff --git a/core/Command/App/Update.php b/core/Command/App/Update.php
index 36422b4727c..b4018c94b79 100644
--- a/core/Command/App/Update.php
+++ b/core/Command/App/Update.php
@@ -71,7 +71,7 @@ class Update extends Command {
} elseif ($input->getOption('all') || $input->getOption('showonly')) {
$apps = \OC_App::getAllApps();
} else {
- $output->writeln("<error>Please specify an app to update or \"--all\" to update all updatable apps\"</error>");
+ $output->writeln('<error>Please specify an app to update or "--all" to update all updatable apps"</error>');
return 1;
}