0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-04-14 05:19:12 +00:00

chore: fix some comments

Signed-off-by: withbest <seekseat@outlook.com>
This commit is contained in:
withbest 2024-07-29 14:43:27 +08:00
parent 8f235982c9
commit dd08f93202
7 changed files with 9 additions and 9 deletions
apps/files/src/views
build/stubs
cypress.d.ts
lib
private
Files/Storage/Wrapper
Remote
public

View file

@ -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 })
}

View file

@ -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
*/

4
cypress.d.ts vendored
View file

@ -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
}

View file

@ -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

View file

@ -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();

View file

@ -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

View file

@ -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
*/