Skip to content

Commit 45b6e76

Browse files
committed
fix some types
Signed-off-by: Robin Appelman <[email protected]>
1 parent 622ba4f commit 45b6e76

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

apps/files_external/lib/Command/Create.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ protected function configure() {
120120
}
121121

122122
protected function execute(InputInterface $input, OutputInterface $output): int {
123-
$user = $input->getOption('user');
123+
$user = (string) $input->getOption('user');
124124
$mountPoint = $input->getArgument('mount_point');
125125
$storageIdentifier = $input->getArgument('storage_backend');
126126
$authIdentifier = $input->getArgument('authentication_backend');

apps/files_external/lib/Command/Import.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ protected function configure() {
108108
}
109109

110110
protected function execute(InputInterface $input, OutputInterface $output): int {
111-
$user = $input->getOption('user');
111+
$user = (string) $input->getOption('user');
112112
$path = $input->getArgument('path');
113113
if ($path === '-') {
114114
$json = file_get_contents('php://stdin');

0 commit comments

Comments
 (0)