chore: fix some comments

Signed-off-by: withbest <seekseat@outlook.com>
pull/46834/head
withbest 8 months ago
parent 8f235982c9
commit dd08f93202
  1. 2
      apps/files/src/views/Navigation.vue
  2. 4
      build/stubs/intl.php
  3. 4
      cypress.d.ts
  4. 2
      lib/private/Files/Storage/Wrapper/Encryption.php
  5. 2
      lib/private/Remote/Instance.php
  6. 2
      lib/public/Remote/IInstance.php
  7. 2
      lib/public/Share_Backend_Collection.php

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

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

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

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

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

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

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

Loading…
Cancel
Save