From dd08f9320249d8ac7bf96f338a5be70d60af1dce Mon Sep 17 00:00:00 2001
From: withbest
Date: Mon, 29 Jul 2024 14:43:27 +0800
Subject: [PATCH] chore: fix some comments
Signed-off-by: withbest
---
apps/files/src/views/Navigation.vue | 2 +-
build/stubs/intl.php | 4 ++--
cypress.d.ts | 4 ++--
lib/private/Files/Storage/Wrapper/Encryption.php | 2 +-
lib/private/Remote/Instance.php | 2 +-
lib/public/Remote/IInstance.php | 2 +-
lib/public/Share_Backend_Collection.php | 2 +-
7 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/apps/files/src/views/Navigation.vue b/apps/files/src/views/Navigation.vue
index cfd170bd073e8..f431ca62b5fbd 100644
--- a/apps/files/src/views/Navigation.vue
+++ b/apps/files/src/views/Navigation.vue
@@ -160,7 +160,7 @@ export default defineComponent({
if (this.currentViewId !== this.currentView?.id) {
// This is guaranteed to be a view because `currentViewId` falls back to the default 'files' view
const view = this.views.find(({ id }) => id === this.currentViewId)!
- // The the new view as active
+ // The new view as active
this.showView(view)
logger.debug(`Navigation changed from ${oldView} to ${newView}`, { to: view })
}
diff --git a/build/stubs/intl.php b/build/stubs/intl.php
index 08e0c71933809..bd7be7a74da57 100644
--- a/build/stubs/intl.php
+++ b/build/stubs/intl.php
@@ -2751,7 +2751,7 @@ public function getType() { }
* IntlCalendar::DOW_SATURDAY.
*
* @return int
- * The number of milliseconds into the day at which the the weekend begins or
+ * The number of milliseconds into the day at which the weekend begins or
* ends or FALSE on failure.
*/
public function getWeekendTransition($dayOfWeek) { }
@@ -5229,7 +5229,7 @@ function intlcal_get_type($calendar) { }
* IntlCalendar::DOW_SATURDAY.
*
* @return int
- * The number of milliseconds into the day at which the the weekend begins or
+ * The number of milliseconds into the day at which the weekend begins or
* ends or FALSE on failure.
* @since 5.5
*/
diff --git a/cypress.d.ts b/cypress.d.ts
index f2784fced372e..91621323d3375 100644
--- a/cypress.d.ts
+++ b/cypress.d.ts
@@ -23,8 +23,8 @@ declare global {
/**
* Unmock all initial states or one defined by app and key
*
- * @param app app name of the inital state
- * @param key the key of the the initial state
+ * @param app app name of the initial state
+ * @param key the key of the initial state
*/
unmockInitialState: (app?: string, key?: string) => void
}
diff --git a/lib/private/Files/Storage/Wrapper/Encryption.php b/lib/private/Files/Storage/Wrapper/Encryption.php
index 5c7862e8226cd..b8893d32c36ca 100644
--- a/lib/private/Files/Storage/Wrapper/Encryption.php
+++ b/lib/private/Files/Storage/Wrapper/Encryption.php
@@ -469,7 +469,7 @@ public function fopen($path, $mode) {
/**
- * perform some plausibility checks if the the unencrypted size is correct.
+ * perform some plausibility checks if the unencrypted size is correct.
* If not, we calculate the correct unencrypted size and return it
*
* @param string $path internal path relative to the storage root
diff --git a/lib/private/Remote/Instance.php b/lib/private/Remote/Instance.php
index 4ae734521cfcc..ac3233b93c93d 100644
--- a/lib/private/Remote/Instance.php
+++ b/lib/private/Remote/Instance.php
@@ -46,7 +46,7 @@ public function getUrl() {
}
/**
- * @return string The of of the remote server with protocol
+ * @return string The of the remote server with protocol
*/
public function getFullUrl() {
return $this->getProtocol() . '://' . $this->getUrl();
diff --git a/lib/public/Remote/IInstance.php b/lib/public/Remote/IInstance.php
index a3c45b396e880..47c10cb4ac165 100644
--- a/lib/public/Remote/IInstance.php
+++ b/lib/public/Remote/IInstance.php
@@ -21,7 +21,7 @@ interface IInstance {
public function getUrl();
/**
- * @return string The of of the remote server with protocol
+ * @return string The of the remote server with protocol
*
* @since 13.0.0
* @deprecated 23.0.0
diff --git a/lib/public/Share_Backend_Collection.php b/lib/public/Share_Backend_Collection.php
index 3c3c42ce9f94c..8dbe07db851ce 100644
--- a/lib/public/Share_Backend_Collection.php
+++ b/lib/public/Share_Backend_Collection.php
@@ -11,7 +11,7 @@
namespace OCP;
/**
- * Interface for collections of of items implemented by another share backend.
+ * Interface for collections of items implemented by another share backend.
* Extends the Share_Backend interface.
* @since 5.0.0
*/