aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/lib')
-rw-r--r--apps/files/lib/Command/Delete.php2
-rw-r--r--apps/files/lib/Controller/ViewController.php2
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();
}