Completed
Pull Request — stable7 (#24167)
by Lukas
07:55
created
tests/lib/share/share.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -926,6 +926,9 @@
 block discarded – undo
926 926
 		$this->assertSame(0, count($result6));
927 927
 	}
928 928
 
929
+	/**
930
+	 * @param string[] $expected
931
+	 */
929 932
 	public function verifyResult($result, $expected) {
930 933
 		foreach ($result as $r) {
931 934
 			if (in_array($r['item_target'], $expected)) {
Please login to merge, or discard this patch.
apps/files_external/lib/amazons3.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -144,6 +144,9 @@
 block discarded – undo
144 144
 		return true;
145 145
 	}
146 146
 
147
+	/**
148
+	 * @param string $path
149
+	 */
147 150
 	public function url_stat($path) {
148 151
 		if (isset(self::$data[$path])) {
149 152
 			$size = strlen(self::$data[$path]);
Please login to merge, or discard this patch.
apps/files_sharing/lib/sharedstorage.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -144,6 +144,9 @@
 block discarded – undo
144 144
 		return true;
145 145
 	}
146 146
 
147
+	/**
148
+	 * @param string $path
149
+	 */
147 150
 	public function url_stat($path) {
148 151
 		if (isset(self::$data[$path])) {
149 152
 			$size = strlen(self::$data[$path]);
Please login to merge, or discard this patch.
lib/private/files/objectstore/objectstorestorage.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -144,6 +144,9 @@
 block discarded – undo
144 144
 		return true;
145 145
 	}
146 146
 
147
+	/**
148
+	 * @param string $path
149
+	 */
147 150
 	public function url_stat($path) {
148 151
 		if (isset(self::$data[$path])) {
149 152
 			$size = strlen(self::$data[$path]);
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,6 @@
 block discarded – undo
30 30
 namespace OCA\Files_Sharing\Controllers;
31 31
 
32 32
 use OC;
33
-use OC\Files\Filesystem;
34 33
 use OC_Files;
35 34
 use OC_Util;
36 35
 use OCP;
Please login to merge, or discard this patch.
lib/private/files/cache/changepropagator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -144,6 +144,9 @@
 block discarded – undo
144 144
 		return true;
145 145
 	}
146 146
 
147
+	/**
148
+	 * @param string $path
149
+	 */
147 150
 	public function url_stat($path) {
148 151
 		if (isset(self::$data[$path])) {
149 152
 			$size = strlen(self::$data[$path]);
Please login to merge, or discard this patch.
apps/user_ldap/lib/user/user.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -369,6 +369,7 @@
 block discarded – undo
369 369
 	 * already. If not, it will marked like this, because it is expected that
370 370
 	 * the method will be run, when false is returned.
371 371
 	 * @param string email | quota | avatar (can be extended)
372
+	 * @param string $feature
372 373
 	 * @return bool
373 374
 	 */
374 375
 	private function wasRefreshed($feature) {
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.
lib/private/template.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
 	 * Returns the list of members for a group-principal
137 137
 	 *
138 138
 	 * @param string $principal
139
-	 * @return array
139
+	 * @return string[]
140 140
 	 */
141 141
 	function getGroupMemberSet($principal) {
142 142
 		// TODO: for now the group principal has only one member, the user itself
Please login to merge, or discard this patch.