summaryrefslogtreecommitdiffstats
path: root/core/Command/Maintenance/UpdateHtaccess.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Command/Maintenance/UpdateHtaccess.php')
-rw-r--r--core/Command/Maintenance/UpdateHtaccess.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Command/Maintenance/UpdateHtaccess.php b/core/Command/Maintenance/UpdateHtaccess.php
index 7f143536bfa..b06127d712f 100644
--- a/core/Command/Maintenance/UpdateHtaccess.php
+++ b/core/Command/Maintenance/UpdateHtaccess.php
@@ -36,7 +36,7 @@ class UpdateHtaccess extends Command {
->setDescription('Updates the .htaccess file');
}
- protected function execute(InputInterface $input, OutputInterface $output) {
+ protected function execute(InputInterface $input, OutputInterface $output): int {
if (\OC\Setup::updateHtaccess()) {
$output->writeln('.htaccess has been updated');
return 0;