Completed
Pull Request — master (#9167)
by Robin
18:55
created
settings/Controller/CommonSettingsTrait.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -56,6 +56,9 @@  discard block
 block discarded – undo
56 56
 		];
57 57
 	}
58 58
 
59
+	/**
60
+	 * @param string $type
61
+	 */
59 62
 	protected function formatSections($sections, $currentSection, $type, $currentType) {
60 63
 		$templateParameters = [];
61 64
 		/** @var \OCP\Settings\ISection[] $prioritizedSections */
@@ -89,6 +92,9 @@  discard block
 block discarded – undo
89 92
 		return $templateParameters;
90 93
 	}
91 94
 
95
+	/**
96
+	 * @param string $currentSections
97
+	 */
92 98
 	protected function formatPersonalSections($currentType, $currentSections) {
93 99
 		$sections = $this->settingsManager->getPersonalSections();
94 100
 		$templateParameters = $this->formatSections($sections, $currentSections, 'personal', $currentType);
@@ -96,6 +102,9 @@  discard block
 block discarded – undo
96 102
 		return $templateParameters;
97 103
 	}
98 104
 
105
+	/**
106
+	 * @param string $currentSections
107
+	 */
99 108
 	protected function formatAdminSections($currentType, $currentSections) {
100 109
 		$sections = $this->settingsManager->getAdminSections();
101 110
 		$templateParameters = $this->formatSections($sections, $currentSections, 'admin', $currentType);
@@ -119,6 +128,10 @@  discard block
 block discarded – undo
119 128
 		return ['content' => $html];
120 129
 	}
121 130
 
131
+	/**
132
+	 * @param string $type
133
+	 * @param string $section
134
+	 */
122 135
 	private function getIndexResponse($type, $section) {
123 136
 		$this->navigationManager->setActiveEntry('settings');
124 137
 		$templateParams = [];
Please login to merge, or discard this patch.
lib/private/DateTimeFormatter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@
 block discarded – undo
218 218
 	/**
219 219
 	 * Gives the relative past time of the timestamp
220 220
 	 *
221
-	 * @param int|\DateTime	$timestamp	Either a Unix timestamp or DateTime object
221
+	 * @param integer	$timestamp	Either a Unix timestamp or DateTime object
222 222
 	 * @param int|\DateTime	$baseTimestamp	Timestamp to compare $timestamp against, defaults to current time
223 223
 	 * @return string	Dates returned are:
224 224
 	 * 				< 60 sec	=> seconds ago
Please login to merge, or discard this patch.
lib/public/Files.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,6 +49,7 @@  discard block
 block discarded – undo
49 49
 class Files {
50 50
 	/**
51 51
 	 * Recusive deletion of folders
52
+	 * @param string $dir
52 53
 	 * @return bool
53 54
 	 * @since 5.0.0
54 55
 	 * @deprecated 14.0.0
@@ -72,7 +73,7 @@  discard block
 block discarded – undo
72 73
 	/**
73 74
 	 * Search for files by mimetype
74 75
 	 * @param string $mimetype
75
-	 * @return array
76
+	 * @return \OC\Files\FileInfo[]
76 77
 	 * @since 6.0.0
77 78
 	 * @deprecated 14.0.0
78 79
 	 */
Please login to merge, or discard this patch.
lib/public/User/Backend/ICheckPasswordBackend.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,6 @@
 block discarded – undo
31 31
 	/**
32 32
 	 * @since 14.0.0
33 33
 	 *
34
-	 * @param string $uid The username
35 34
 	 * @param string $password The password
36 35
 	 * @return string|bool The uid on success false on failure
37 36
 	 */
Please login to merge, or discard this patch.
lib/private/legacy/user.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -311,7 +311,7 @@
 block discarded – undo
311 311
 	 * get the display name of the user currently logged in.
312 312
 	 *
313 313
 	 * @param string $uid
314
-	 * @return string|bool uid or false
314
+	 * @return string|false uid or false
315 315
 	 * @deprecated 8.1.0 fetch \OCP\IUser (has getDisplayName()) by using method
316 316
 	 *                   get() of \OCP\IUserManager - \OC::$server->getUserManager()
317 317
 	 */
Please login to merge, or discard this patch.
apps/provisioning_api/lib/Controller/GroupsController.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,6 @@
 block discarded – undo
74 74
 	 * @param IUserSession $userSession
75 75
 	 * @param AccountManager $accountManager
76 76
 	 * @param ILogger $logger
77
-	 * @param UsersController $userController
78 77
 	 */
79 78
 	public function __construct(string $appName,
80 79
 								IRequest $request,
Please login to merge, or discard this patch.
settings/Controller/CheckSetupController.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,6 +119,7 @@  discard block
 block discarded – undo
119 119
 
120 120
 	/**
121 121
 	* Checks if the Nextcloud server can connect to a specific URL using both HTTPS and HTTP
122
+	* @param string $sitename
122 123
 	* @return bool
123 124
 	*/
124 125
 	private function isSiteReachable($sitename) {
@@ -316,7 +317,7 @@  discard block
 block discarded – undo
316 317
 
317 318
 	/**
318 319
 	 * @NoCSRFRequired
319
-	 * @return DataResponse
320
+	 * @return DataDisplayResponse
320 321
 	 */
321 322
 	public function getFailedIntegrityCheckFiles() {
322 323
 		if(!$this->checker->isCodeCheckEnforced()) {
Please login to merge, or discard this patch.
apps/provisioning_api/lib/Controller/UsersController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -196,7 +196,7 @@
 block discarded – undo
196 196
 	 * @param string $password
197 197
 	 * @param string $email
198 198
 	 * @param array $groups
199
-	 * @param array $subadmins
199
+	 * @param array $subadmin
200 200
 	 * @param string $quota
201 201
 	 * @return DataResponse
202 202
 	 * @throws OCSException
Please login to merge, or discard this patch.