Completed
Pull Request — master (#6025)
by Thomas
26:13 queued 10:34
created
lib/public/Template.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
 /**
107 107
  * Return the relative date in relation to today. Returns something like "last hour" or "two month ago"
108 108
  * @param int $timestamp unix timestamp
109
- * @param boolean $dateOnly
109
+ * @param integer $dateOnly
110 110
  * @return string human readable interpretation of the timestamp
111 111
  *
112 112
  * @deprecated 8.0.0 Use \OCP\Template::relative_modified_date() instead
Please login to merge, or discard this patch.
lib/private/Archive/ZIP.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -370,6 +370,7 @@
 block discarded – undo
370 370
 
371 371
 	/**
372 372
 	 * write back temporary files
373
+	 * @param string $path
373 374
 	 */
374 375
 	public function writeBack($tmpFile, $path) {
375 376
 		$this->addFile($path, $tmpFile);
Please login to merge, or discard this patch.
lib/private/legacy/helper.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
 	/**
132 132
 	 * Make a computer file size
133 133
 	 * @param string $str file size in human readable format
134
-	 * @return float|bool a file size in bytes
134
+	 * @return integer a file size in bytes
135 135
 	 *
136 136
 	 * Makes 2kB to 2048.
137 137
 	 *
@@ -529,7 +529,7 @@  discard block
 block discarded – undo
529 529
 	 *
530 530
 	 * @param string $path
531 531
 	 * @param \OCP\Files\FileInfo $rootInfo (optional)
532
-	 * @return array
532
+	 * @return string
533 533
 	 * @throws \OCP\Files\NotFoundException
534 534
 	 */
535 535
 	public static function getStorageInfo($path, $rootInfo = null) {
Please login to merge, or discard this patch.
core/Middleware/TwoFactorMiddleware.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -104,6 +104,9 @@
 block discarded – undo
104 104
 		// TODO: dont check/enforce 2FA if a auth token is used
105 105
 	}
106 106
 
107
+	/**
108
+	 * @param string $methodName
109
+	 */
107 110
 	private function checkTwoFactor(Controller $controller, $methodName, IUser $user) {
108 111
 		// If two-factor auth is in progress disallow access to any controllers
109 112
 		// defined within "LoginController".
Please login to merge, or discard this patch.
lib/private/App/AppManager.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
 	/**
122 122
 	 * List all installed apps
123 123
 	 *
124
-	 * @return string[]
124
+	 * @return integer[]
125 125
 	 */
126 126
 	public function getInstalledApps() {
127 127
 		return array_keys($this->getInstalledAppsValues());
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
 	 * Returns a list of apps that need upgrade
314 314
 	 *
315 315
 	 * @param string $version Nextcloud version as array of version components
316
-	 * @param $l10n string User language code
316
+	 * @param string $l10n string User language code
317 317
 	 * @return array list of app info from apps that need an upgrade
318 318
 	 *
319 319
 	 * @internal
@@ -384,6 +384,9 @@  discard block
 block discarded – undo
384 384
 		return in_array($appId, $this->shippedApps, true);
385 385
 	}
386 386
 
387
+	/**
388
+	 * @param string $appId
389
+	 */
387 390
 	private function isAlwaysEnabled($appId) {
388 391
 		$alwaysEnabled = $this->getAlwaysEnabledApps();
389 392
 		return in_array($appId, $alwaysEnabled, true);
Please login to merge, or discard this patch.