From f0466187dcca24f9cd56203d8526e98e3debf005 Mon Sep 17 00:00:00 2001 From: Richard Steinmetz Date: Tue, 15 Apr 2025 13:00:54 +0200 Subject: [PATCH] fix: cast mount_id type in files_external:notify command Signed-off-by: Richard Steinmetz --- apps/files_external/lib/Command/Notify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files_external/lib/Command/Notify.php b/apps/files_external/lib/Command/Notify.php index fd3a66a756e..fe67bd77f4f 100644 --- a/apps/files_external/lib/Command/Notify.php +++ b/apps/files_external/lib/Command/Notify.php @@ -114,7 +114,7 @@ class Notify extends Base { } protected function execute(InputInterface $input, OutputInterface $output): int { - $mount = $this->globalService->getStorage($input->getArgument('mount_id')); + $mount = $this->globalService->getStorage((int)$input->getArgument('mount_id')); if (is_null($mount)) { $output->writeln('Mount not found'); return self::FAILURE;