aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwithbest <seekseat@outlook.com>2024-07-29 14:43:27 +0800
committerwithbest <seekseat@outlook.com>2024-07-29 14:43:27 +0800
commitdd08f9320249d8ac7bf96f338a5be70d60af1dce (patch)
treea1c45c5f1663e72a8591ad6e0d57bc2a05c7e7b6
parent8f235982c9d4380065ba2568b6185c4ceefaa9fa (diff)
downloadnextcloud-server-dd08f9320249d8ac7bf96f338a5be70d60af1dce.tar.gz
nextcloud-server-dd08f9320249d8ac7bf96f338a5be70d60af1dce.zip
chore: fix some comments
Signed-off-by: withbest <seekseat@outlook.com>
-rw-r--r--apps/files/src/views/Navigation.vue2
-rw-r--r--build/stubs/intl.php4
-rw-r--r--cypress.d.ts4
-rw-r--r--lib/private/Files/Storage/Wrapper/Encryption.php2
-rw-r--r--lib/private/Remote/Instance.php2
-rw-r--r--lib/public/Remote/IInstance.php2
-rw-r--r--lib/public/Share_Backend_Collection.php2
7 files changed, 9 insertions, 9 deletions
diff --git a/apps/files/src/views/Navigation.vue b/apps/files/src/views/Navigation.vue
index cfd170bd073..f431ca62b5f 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 08e0c719338..bd7be7a74da 100644
--- a/build/stubs/intl.php
+++ b/build/stubs/intl.php
@@ -2751,7 +2751,7 @@ class IntlCalendar {
* <b>IntlCalendar::DOW_SATURDAY</b>.
* </p>
* @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 <b>FALSE</b> on failure.
*/
public function getWeekendTransition($dayOfWeek) { }
@@ -5229,7 +5229,7 @@ function intlcal_get_type($calendar) { }
* <b>IntlCalendar::DOW_SATURDAY</b>.
* </p>
* @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 <b>FALSE</b> on failure.
* @since 5.5
*/
diff --git a/cypress.d.ts b/cypress.d.ts
index f2784fced37..91621323d33 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 5c7862e8226..b8893d32c36 100644
--- a/lib/private/Files/Storage/Wrapper/Encryption.php
+++ b/lib/private/Files/Storage/Wrapper/Encryption.php
@@ -469,7 +469,7 @@ class Encryption extends Wrapper {
/**
- * 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 4ae734521cf..ac3233b93c9 100644
--- a/lib/private/Remote/Instance.php
+++ b/lib/private/Remote/Instance.php
@@ -46,7 +46,7 @@ class Instance implements IInstance {
}
/**
- * @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 a3c45b396e8..47c10cb4ac1 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 3c3c42ce9f9..8dbe07db851 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
*/