0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-04-27 18:36:49 +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) { if (this.currentViewId !== this.currentView?.id) {
// This is guaranteed to be a view because `currentViewId` falls back to the default 'files' view // 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)! const view = this.views.find(({ id }) => id === this.currentViewId)!
// The the new view as active // The new view as active
this.showView(view) this.showView(view)
logger.debug(`Navigation changed from ${oldView} to ${newView}`, { to: view }) logger.debug(`Navigation changed from ${oldView} to ${newView}`, { to: view })
} }

View file

@ -2751,7 +2751,7 @@ class IntlCalendar {
* <b>IntlCalendar::DOW_SATURDAY</b>. * <b>IntlCalendar::DOW_SATURDAY</b>.
* </p> * </p>
* @return int * @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. * ends or <b>FALSE</b> on failure.
*/ */
public function getWeekendTransition($dayOfWeek) { } public function getWeekendTransition($dayOfWeek) { }
@ -5229,7 +5229,7 @@ function intlcal_get_type($calendar) { }
* <b>IntlCalendar::DOW_SATURDAY</b>. * <b>IntlCalendar::DOW_SATURDAY</b>.
* </p> * </p>
* @return int * @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. * ends or <b>FALSE</b> on failure.
* @since 5.5 * @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 * Unmock all initial states or one defined by app and key
* *
* @param app app name of the inital state * @param app app name of the initial state
* @param key the key of the the initial state * @param key the key of the initial state
*/ */
unmockInitialState: (app?: string, key?: string) => void 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 * If not, we calculate the correct unencrypted size and return it
* *
* @param string $path internal path relative to the storage root * @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() { public function getFullUrl() {
return $this->getProtocol() . '://' . $this->getUrl(); return $this->getProtocol() . '://' . $this->getUrl();

View file

@ -21,7 +21,7 @@ interface IInstance {
public function getUrl(); 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 * @since 13.0.0
* @deprecated 23.0.0 * @deprecated 23.0.0

View file

@ -11,7 +11,7 @@
namespace OCP; 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. * Extends the Share_Backend interface.
* @since 5.0.0 * @since 5.0.0
*/ */