From 9d26671f05275055619960a66981201ed660bdd2 Mon Sep 17 00:00:00 2001 From: luz paz Date: Thu, 28 Jul 2022 07:11:38 -0400 Subject: Fix typos in apps/ subdirectory Found via `codespell -q 3 -S l10n,./apps/files_external/3rdparty -L adn,ba,boxs,keypair,jus,optionel,ressource,tabel ./apps/` Signed-off-by: luz paz Signed-off-by: nextcloud-command --- apps/files/lib/Command/RepairTree.php | 2 +- apps/files/lib/Controller/ApiController.php | 2 +- apps/files/lib/Notification/Notifier.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/files/lib') diff --git a/apps/files/lib/Command/RepairTree.php b/apps/files/lib/Command/RepairTree.php index 4fe64ef0edf..521fe3d6a4a 100644 --- a/apps/files/lib/Command/RepairTree.php +++ b/apps/files/lib/Command/RepairTree.php @@ -68,7 +68,7 @@ class RepairTree extends Command { ->where($query->expr()->eq('fileid', $query->createParameter('fileid'))); foreach ($rows as $row) { - $output->writeln("Path of file {$row['fileid']} is {$row['path']} but should be {$row['parent_path']}/{$row['name']} based on it's parent", OutputInterface::VERBOSITY_VERBOSE); + $output->writeln("Path of file {$row['fileid']} is {$row['path']} but should be {$row['parent_path']}/{$row['name']} based on its parent", OutputInterface::VERBOSITY_VERBOSE); if ($fix) { $fileId = $this->getFileId((int)$row['parent_storage'], $row['parent_path'] . '/' . $row['name']); diff --git a/apps/files/lib/Controller/ApiController.php b/apps/files/lib/Controller/ApiController.php index 45c7466e0c2..e29e81d6296 100644 --- a/apps/files/lib/Controller/ApiController.php +++ b/apps/files/lib/Controller/ApiController.php @@ -247,7 +247,7 @@ class ApiController extends Controller { } /** - * Returns a list of recently modifed files. + * Returns a list of recently modified files. * * @NoAdminRequired * diff --git a/apps/files/lib/Notification/Notifier.php b/apps/files/lib/Notification/Notifier.php index 8f885a995f9..1a7a3726229 100644 --- a/apps/files/lib/Notification/Notifier.php +++ b/apps/files/lib/Notification/Notifier.php @@ -278,7 +278,7 @@ class Notifier implements INotifier, IDismissableNotifier { throw new \InvalidArgumentException('Unhandled app'); } - // TODO: This should all be moved to a service that also the transferownershipContoller uses. + // TODO: This should all be moved to a service that also the transferownershipController uses. try { $transferOwnership = $this->mapper->getById((int)$notification->getObjectId()); } catch (DoesNotExistException $e) { -- cgit v1.2.3