From e94fac54ddaac5617698c9b5b3b93c050ae19021 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jannik=20B=C3=A4cker?= Date: Mon, 27 Jul 2026 11:41:54 +0000 Subject: [PATCH] fix: correct spelling errors in comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - writting → writing in lib/private/Comments/Comment.php - overriden → overridden in config/config.sample.php (2 occurrences) - sucessfully → successfully in lib/public/BackgroundJob/JobStatus.php Assisted-by: DeepSeek:V4-Pro Signed-off-by: Jannik Bäcker --- config/config.sample.php | 4 ++-- lib/private/Comments/Comment.php | 2 +- lib/public/BackgroundJob/JobStatus.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/config.sample.php b/config/config.sample.php index 891f502096a4f..cadfa4821dc16 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -49,8 +49,8 @@ * * Value must be an integer, comprised between 0 and 511. * - * When config.php is shared between different servers, this value should be overriden with "NC_serverid=" on each server. - * Note that it must be overriden for CLI and for your webserver. + * When config.php is shared between different servers, this value should be overridden with "NC_serverid=" on each server. + * Note that it must be overridden for CLI and for your webserver. * * Example for CLI: NC_serverid=42 occ config:list system */ diff --git a/lib/private/Comments/Comment.php b/lib/private/Comments/Comment.php index b3b4da225e2bf..e37facfe53dfd 100644 --- a/lib/private/Comments/Comment.php +++ b/lib/private/Comments/Comment.php @@ -333,7 +333,7 @@ public function setActor($actorType, $actorId): IComment { #[\Override] public function getCreationDateTime(): \DateTime { if (!isset($this->data['creationDT'])) { - throw new \LogicException('Cannot get creation date before setting one or writting to database'); + throw new \LogicException('Cannot get creation date before setting one or writing to database'); } return $this->data['creationDT']; } diff --git a/lib/public/BackgroundJob/JobStatus.php b/lib/public/BackgroundJob/JobStatus.php index d6e9580730474..0b18e92117a5f 100644 --- a/lib/public/BackgroundJob/JobStatus.php +++ b/lib/public/BackgroundJob/JobStatus.php @@ -23,7 +23,7 @@ enum JobStatus: int { case RUNNING = 0; /** - * Background job completed sucessfully + * Background job completed successfully * * @since 34.0.0 */