Completed
Push — stable8.1 ( 0df34d...256c2c )
by Roeland
65:01
created
apps/files_external/lib/config.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 	 * If the configuration parameter is optional, add a '&' to the beginning of the value
86 86
 	 * If the configuration parameter is hidden, add a '#' to the beginning of the value
87 87
 	 *
88
-	 * @return array
88
+	 * @return string
89 89
 	 */
90 90
 	public static function getBackends() {
91 91
 		$sortFunc = function ($a, $b) {
@@ -484,6 +484,7 @@  discard block
 block discarded – undo
484 484
 	 *
485 485
 	 * @param string $class backend class name
486 486
 	 * @param array $options backend configuration options
487
+	 * @param boolean $isPersonal
487 488
 	 * @return int see self::STATUS_*
488 489
 	 */
489 490
 	public static function getBackendStatus($class, $options, $isPersonal) {
@@ -789,7 +790,7 @@  discard block
 block discarded – undo
789 790
 	 * @param OC_L10N $l
790 791
 	 * @param string $module
791 792
 	 * @param string $backend
792
-	 * @return string
793
+	 * @return OC_L10N_String
793 794
 	 */
794 795
 	private static function getSingleDependencyMessage(OC_L10N $l, $module, $backend) {
795 796
 		switch (strtolower($module)) {
Please login to merge, or discard this patch.
apps/files_external/lib/storageconfig.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
 	}
175 175
 
176 176
 	/**
177
-	 * @param string $option
177
+	 * @param string $key
178 178
 	 * @return mixed
179 179
 	 */
180 180
 	public function getBackendOption($key) {
@@ -185,8 +185,8 @@  discard block
 block discarded – undo
185 185
 	}
186 186
 
187 187
 	/**
188
-	 * @param string $option
189 188
 	 * @param mixed $value
189
+	 * @param string $key
190 190
 	 */
191 191
 	public function setBackendOption($key, $value) {
192 192
 		$this->backendOptions[$key] = $value;
Please login to merge, or discard this patch.
apps/files_sharing/tests/controller/externalsharecontroller.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 
22 22
 namespace OCA\Files_Sharing\Controllers;
23 23
 
24
-use OCP\AppFramework\Http\DataResponse;
25 24
 use OCP\AppFramework\Http\JSONResponse;
26 25
 use OCP\Http\Client\IClientService;
27 26
 use OCP\IRequest;
Please login to merge, or discard this patch.
apps/files_trashbin/lib/trashbin.php 1 patch
Doc Comments   +6 added lines, -5 removed lines patch added patch discarded remove patch
@@ -407,7 +407,7 @@  discard block
 block discarded – undo
407 407
 	 * @param string $uniqueFilename new file name to restore the file without overwriting existing files
408 408
 	 * @param string $location location if file
409 409
 	 * @param int $timestamp deletion time
410
-	 * @return bool
410
+	 * @return false|null
411 411
 	 */
412 412
 	private static function restoreVersions(\OC\Files\View $view, $file, $filename, $uniqueFilename, $location, $timestamp) {
413 413
 
@@ -497,9 +497,10 @@  discard block
 block discarded – undo
497 497
 
498 498
 	/**
499 499
 	 * @param \OC\Files\View $view
500
-	 * @param $file
501
-	 * @param $filename
502
-	 * @param $timestamp
500
+	 * @param string $file
501
+	 * @param string $filename
502
+	 * @param integer|null $timestamp
503
+	 * @param string $user
503 504
 	 * @return int
504 505
 	 */
505 506
 	private static function deleteVersions(\OC\Files\View $view, $file, $filename, $timestamp, $user) {
@@ -686,7 +687,7 @@  discard block
 block discarded – undo
686 687
 	 * @param string $user
687 688
 	 * @param int $limit files older then limit should be deleted
688 689
 	 * @param int $retention_obligation max age of file in days
689
-	 * @return array size of deleted files and number of deleted files
690
+	 * @return integer[] size of deleted files and number of deleted files
690 691
 	 */
691 692
 	protected static function deleteExpiredFiles($files, $user, $limit, $retention_obligation) {
692 693
 		$size = 0;
Please login to merge, or discard this patch.
lib/private/api.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
 	/**
156 156
 	 * merge the returned result objects into one response
157 157
 	 * @param array $responses
158
-	 * @return array|\OC_OCS_Result
158
+	 * @return OC_OCS_Result
159 159
 	 */
160 160
 	public static function mergeResponses($responses) {
161 161
 		// Sort into shipped and third-party
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
293 293
 
294 294
 	/**
295 295
 	 * http basic auth
296
-	 * @return string|false (username, or false on failure)
296
+	 * @return string (username, or false on failure)
297 297
 	 */
298 298
 	private static function loginUser() {
299 299
 		if(self::$isLoggedIn === true) {
Please login to merge, or discard this patch.
lib/private/app/appmanager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
 	/**
89 89
 	 * List all installed apps
90 90
 	 *
91
-	 * @return string[]
91
+	 * @return integer[]
92 92
 	 */
93 93
 	public function getInstalledApps() {
94 94
 		return array_keys($this->getInstalledAppsValues());
Please login to merge, or discard this patch.
lib/private/app/codecheckvisitor.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -28,6 +28,9 @@
 block discarded – undo
28 28
 
29 29
 class CodeCheckVisitor extends NodeVisitorAbstract {
30 30
 
31
+	/**
32
+	 * @param string[] $blackListedClassNames
33
+	 */
31 34
 	public function __construct($blackListedClassNames) {
32 35
 		$this->blackListedClassNames = array_map('strtolower', $blackListedClassNames);
33 36
 	}
Please login to merge, or discard this patch.
lib/private/appframework/middleware/security/corsmiddleware.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
 	 * This is being run in normal order before the controller is being
69 69
 	 * called which allows several modifications and checks
70 70
 	 *
71
-	 * @param Controller $controller the controller that is being called
71
+	 * @param CORSMiddlewareTest $controller the controller that is being called
72 72
 	 * @param string $methodName the name of the method that will be called on
73 73
 	 *                           the controller
74 74
 	 * @since 6.0.0
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
 	 * This is being run after a successful controllermethod call and allows
93 93
 	 * the manipulation of a Response object. The middleware is run in reverse order
94 94
 	 *
95
-	 * @param Controller $controller the controller that is being called
95
+	 * @param CORSMiddlewareTest $controller the controller that is being called
96 96
 	 * @param string $methodName the name of the method that will be called on
97 97
 	 *                           the controller
98 98
 	 * @param Response $response the generated response from the controller
Please login to merge, or discard this patch.
lib/private/backgroundjob/joblist.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 	}
49 49
 
50 50
 	/**
51
-	 * @param Job|string $job
51
+	 * @param \Test\BackgroundJob\TestJob $job
52 52
 	 * @param mixed $argument
53 53
 	 */
54 54
 	public function add($job, $argument = null) {
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
 	}
69 69
 
70 70
 	/**
71
-	 * @param Job|string $job
71
+	 * @param Job $job
72 72
 	 * @param mixed $argument
73 73
 	 */
74 74
 	public function remove($job, $argument = null) {
Please login to merge, or discard this patch.