Browse Source

Remove trailing whitespaces from comments

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
tags/v19.0.0beta3
Christoph Wurst 4 years ago
parent
commit
a8a06a82d2
No account linked to committer's email address

+ 1
- 1
apps/dav/lib/SystemTag/SystemTagsObjectMappingCollection.php View File

@@ -189,7 +189,7 @@ class SystemTagsObjectMappingCollection implements ICollection {
}

/**
* Create a sabre node for the mapping of the
* Create a sabre node for the mapping of the
* given system tag to the collection's object
*
* @param ISystemTag $tag

+ 1
- 1
apps/files_external/templates/settings.php View File

@@ -142,7 +142,7 @@
});
?>
<?php foreach ($sortedBackends as $backend): ?>
<?php if ($backend->getDeprecateTo()) continue; // ignore deprecated backends ?>
<?php if ($backend->getDeprecateTo()) continue; // ignore deprecated backends?>
<option value="<?php p($backend->getIdentifier()); ?>"><?php p($backend->getText()); ?></option>
<?php endforeach; ?>
</select>

+ 1
- 1
apps/files_versions/lib/Expiration.php View File

@@ -129,7 +129,7 @@ class Expiration {
}

/**
* Read versions_retention_obligation, validate it
* Read versions_retention_obligation, validate it
* and set private members accordingly
*/
private function parseRetentionObligation() {

+ 2
- 2
apps/user_ldap/lib/Configuration.php View File

@@ -311,7 +311,7 @@ class Configuration {

/**
* Sets multi-line values as arrays
*
*
* @param string $varName name of config-key
* @param array|string $value to set
*/
@@ -387,7 +387,7 @@ class Configuration {

/**
* Sets a scalar value.
*
*
* @param string $varName name of config key
* @param mixed $value to set
*/

+ 2
- 2
apps/user_ldap/lib/LDAPProvider.php View File

@@ -114,7 +114,7 @@ class LDAPProvider implements ILDAPProvider, IDeletionFlagSupport {
}

/**
* Translate a LDAP DN to an internal user name. If there is no mapping between
* Translate a LDAP DN to an internal user name. If there is no mapping between
* the DN and the user name, a new one will be created.
* @param string $dn LDAP DN
* @return string with the internal user name
@@ -147,7 +147,7 @@ class LDAPProvider implements ILDAPProvider, IDeletionFlagSupport {
}
/**
* Return a new LDAP connection resource for the specified user.
* Return a new LDAP connection resource for the specified user.
* The connection must be closed manually.
* @param string $uid user id
* @return resource of the LDAP connection

+ 1
- 1
apps/user_ldap/tests/Integration/ExceptionOnLostConnection.php View File

@@ -36,7 +36,7 @@ use OCA\User_LDAP\LDAP;
*
* LDAP must be available via toxiproxy.
*
* This test must be run manually.
* This test must be run manually.
*
*/
class ExceptionOnLostConnection {

+ 1
- 1
core/templates/installation.php View File

@@ -75,7 +75,7 @@ script('core', [
<?php if(!$_['dbIsSet'] OR count($_['errors']) > 0): ?>
<fieldset id='databaseBackend'>
<?php if($_['hasMySQL'] or $_['hasPostgreSQL'] or $_['hasOracle'])
$hasOtherDB = true; else $hasOtherDB =false; //other than SQLite ?>
$hasOtherDB = true; else $hasOtherDB =false; //other than SQLite?>
<legend><?php p($l->t('Configure the database')); ?></legend>
<div id="selectDbType">
<?php foreach($_['databases'] as $type => $label): ?>

+ 2
- 2
lib/private/ContactsManager.php View File

@@ -125,7 +125,7 @@ namespace OC {
/**
* Return a list of the user's addressbooks display names
* ! The addressBook displayName are not unique, please use getUserAddressBooks
*
*
* @return array
* @since 6.0.0
* @deprecated 16.0.0 - Use `$this->getUserAddressBooks()` instead
@@ -142,7 +142,7 @@ namespace OC {

/**
* Return a list of the user's addressbooks
*
*
* @return IAddressBook[]
* @since 16.0.0
*/

+ 1
- 1
lib/private/DateTimeZone.php View File

@@ -119,7 +119,7 @@ class DateTimeZone implements IDateTimeZone {
* Get the default timezone of the server
*
* Falls back to UTC if it is not yet set.
*
*
* @return string
*/
protected function getDefaultTimeZone() {

+ 1
- 1
lib/private/Search/Result/Audio.php View File

@@ -31,7 +31,7 @@ class Audio extends File {

/**
* Type name; translated in templates
* @var string
* @var string
*/
public $type = 'audio';

+ 3
- 3
lib/private/Search/Result/File.php View File

@@ -35,7 +35,7 @@ class File extends \OCP\Search\Result {

/**
* Type name; translated in templates
* @var string
* @var string
*/
public $type = 'file';

@@ -47,7 +47,7 @@ class File extends \OCP\Search\Result {

/**
* Size, in bytes
* @var int
* @var int
*/
public $size;

@@ -65,7 +65,7 @@ class File extends \OCP\Search\Result {

/**
* File permissions:
*
*
* @var string
*/
public $permissions;

+ 1
- 1
lib/private/Search/Result/Folder.php View File

@@ -31,7 +31,7 @@ class Folder extends File {

/**
* Type name; translated in templates
* @var string
* @var string
*/
public $type = 'folder';

+ 1
- 1
lib/private/Search/Result/Image.php View File

@@ -31,7 +31,7 @@ class Image extends File {

/**
* Type name; translated in templates
* @var string
* @var string
*/
public $type = 'image';

+ 1
- 1
lib/public/Authentication/TwoFactorAuth/IRegistry.php View File

@@ -31,7 +31,7 @@ use OCP\IUser;

/**
* Nextcloud 2FA provider registry for stateful 2FA providers
*
*
* This service keeps track of which providers are currently active for a specific
* user. Stateful 2FA providers (IStatefulProvider) must use this service to save
* their enabled/disabled state.

+ 3
- 3
lib/public/Contacts/IManager.php View File

@@ -160,7 +160,7 @@ interface IManager {

/**
* Return a list of the user's addressbooks display names
*
*
* @return array
* @since 6.0.0
* @deprecated 16.0.0 - Use `$this->getUserAddressBooks()` instead
@@ -169,7 +169,7 @@ interface IManager {

/**
* Return a list of the user's addressbooks
*
*
* @return IAddressBook[]
* @since 16.0.0
*/
@@ -177,7 +177,7 @@ interface IManager {

/**
* removes all registered address book instances
*
*
* @return void
* @since 6.0.0
*/

+ 8
- 8
lib/public/Diagnostics/IQueryLogger.php View File

@@ -35,10 +35,10 @@ use Doctrine\DBAL\Logging\SQLLogger;
*/
interface IQueryLogger extends SQLLogger {
/**
* Mark the start of a query providing query SQL statement, its parameters and types.
* This method should be called as close to the DB as possible and after
* query is finished finalized with stopQuery() method.
*
* Mark the start of a query providing query SQL statement, its parameters and types.
* This method should be called as close to the DB as possible and after
* query is finished finalized with stopQuery() method.
*
* @param string $sql
* @param array|null $params
* @param array|null $types
@@ -49,7 +49,7 @@ interface IQueryLogger extends SQLLogger {
/**
* Mark the end of the current active query. Ending query should store \OCP\Diagnostics\IQuery to
* be returned with getQueries() method.
*
*
* @return mixed
* @since 8.0.0
*/
@@ -58,7 +58,7 @@ interface IQueryLogger extends SQLLogger {
/**
* This method should return all \OCP\Diagnostics\IQuery objects stored using
* startQuery()/stopQuery() methods.
*
*
* @return \OCP\Diagnostics\IQuery[]
* @since 8.0.0
*/
@@ -67,8 +67,8 @@ interface IQueryLogger extends SQLLogger {
/**
* Activate the module for the duration of the request. Deactivated module
* does not create and store \OCP\Diagnostics\IQuery objects.
* Only activated module should create and store objects to be
* returned with getQueries() call.
* Only activated module should create and store objects to be
* returned with getQueries() call.
*
* @since 12.0.0
*/

+ 1
- 1
lib/public/LDAP/ILDAPProvider.php View File

@@ -76,7 +76,7 @@ interface ILDAPProvider {
public function sanitizeDN($dn);
/**
* Return a new LDAP connection resource for the specified user.
* Return a new LDAP connection resource for the specified user.
* @param string $uid user id
* @return resource of the LDAP connection
* @since 11.0.0

+ 1
- 1
lib/public/Search/Result.php View File

@@ -56,7 +56,7 @@ class Result {

/**
* The type of search result returned; for consistency, name this the same
* as the class name (e.g. \OC\Search\File -> 'file') in lowercase.
* as the class name (e.g. \OC\Search\File -> 'file') in lowercase.
* @var string
* @since 7.0.0
*/

+ 1
- 1
lib/public/Security/ISecureRandom.php View File

@@ -51,7 +51,7 @@ interface ISecureRandom {

/**
* Characters that can be used for <code>generate($length, $characters)</code>, to
* generate human readable random strings. Lower- and upper-case characters and digits
* generate human readable random strings. Lower- and upper-case characters and digits
* are included. Characters which are ambiguous are excluded, such as I, l, and 1 and so on.
*/
const CHAR_HUMAN_READABLE = 'abcdefgijkmnopqrstwxyzABCDEFGHJKLMNPQRSTWXYZ23456789';

+ 2
- 2
tests/acceptance/features/bootstrap/AppNavigationContext.php View File

@@ -1,10 +1,10 @@
<?php

/**
*
*
* @copyright Copyright (c) 2017, Daniel Calviño Sánchez (danxuliu@gmail.com)
* @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
*
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify

+ 2
- 2
tests/acceptance/features/bootstrap/AppSettingsContext.php View File

@@ -1,10 +1,10 @@
<?php

/**
*
*
* @copyright Copyright (c) 2017, Daniel Calviño Sánchez (danxuliu@gmail.com)
* @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
*
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify

+ 1
- 1
tests/acceptance/features/bootstrap/DialogContext.php View File

@@ -1,7 +1,7 @@
<?php

/**
*
*
* @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
*
* @license GNU AGPL version 3 or any later version

+ 1
- 1
tests/acceptance/features/bootstrap/SettingsMenuContext.php View File

@@ -103,7 +103,7 @@ class SettingsMenuContext implements Context, ActorAwareInterface {
}

/**
* @return array
* @return array
*/
public function menuItems() {
return $this->actor->find(self::settingsMenu(), 10)

Loading…
Cancel
Save