diff options
author | Anna Larch <anna@nextcloud.com> | 2024-09-05 21:23:38 +0200 |
---|---|---|
committer | Anna Larch <anna@nextcloud.com> | 2024-09-05 21:23:38 +0200 |
commit | 8af7ecb2576071f170ecbb0aa2311b26581e40e2 (patch) | |
tree | 9a8f3595cb28493368f78b0a049254d0a256b3c1 /apps/files | |
parent | 4566cf791d55f1202f4a1888b9cd23a7be0ed2c9 (diff) | |
download | nextcloud-server-8af7ecb2576071f170ecbb0aa2311b26581e40e2.tar.gz nextcloud-server-8af7ecb2576071f170ecbb0aa2311b26581e40e2.zip |
chore: adjust code to adhere to coding standard
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/lib/Command/Delete.php | 2 | ||||
-rw-r--r-- | apps/files/lib/Controller/ViewController.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/lib/Command/Delete.php b/apps/files/lib/Command/Delete.php index f59b636079b..d984f839c91 100644 --- a/apps/files/lib/Command/Delete.php +++ b/apps/files/lib/Command/Delete.php @@ -70,7 +70,7 @@ class Delete extends Command { $output->writeln(''); foreach ($filesByUsers as $user => $filesByUser) { $output->writeln($user . ':'); - foreach($filesByUser as $file) { + foreach ($filesByUser as $file) { $output->writeln(' - ' . $file->getPath()); } } diff --git a/apps/files/lib/Controller/ViewController.php b/apps/files/lib/Controller/ViewController.php index e3d4c0a6aa0..c402a4c5bed 100644 --- a/apps/files/lib/Controller/ViewController.php +++ b/apps/files/lib/Controller/ViewController.php @@ -166,7 +166,7 @@ class ViewController extends Controller { try { // If view is files, we use the directory, otherwise we use the root storage $storageInfo = $this->getStorageInfo(($view === 'files' && $dir) ? $dir : '/'); - } catch(\Exception $e) { + } catch (\Exception $e) { $storageInfo = $this->getStorageInfo(); } |