File tree Expand file tree Collapse file tree
apps/files_external/lib/Command Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ' );
Original file line number Diff line number Diff 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 ' );
You can’t perform that action at this time.
0 commit comments