Skip to content

Commit

Permalink
fix some types
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Appelman <[email protected]>
  • Loading branch information
icewind1991 committed Mar 26, 2021
1 parent 622ba4f commit 45b6e76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/files_external/lib/Command/Create.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ protected function configure() {
}

protected function execute(InputInterface $input, OutputInterface $output): int {
$user = $input->getOption('user');
$user = (string) $input->getOption('user');
$mountPoint = $input->getArgument('mount_point');
$storageIdentifier = $input->getArgument('storage_backend');
$authIdentifier = $input->getArgument('authentication_backend');
Expand Down
2 changes: 1 addition & 1 deletion apps/files_external/lib/Command/Import.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ protected function configure() {
}

protected function execute(InputInterface $input, OutputInterface $output): int {
$user = $input->getOption('user');
$user = (string) $input->getOption('user');
$path = $input->getArgument('path');
if ($path === '-') {
$json = file_get_contents('php://stdin');
Expand Down

0 comments on commit 45b6e76

Please sign in to comment.