Completed
Pull Request — stable8.2 (#29162)
by Tom
11: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.
tests/lib/traits/mountprovidertrait.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
 	protected $mounts = [];
30 30
 
31
+	/**
32
+	 * @param string $mountPoint
33
+	 */
31 34
 	protected function registerMount($userId, $storage, $mountPoint, $arguments = null) {
32 35
 		if (!isset($this->mounts[$userId])) {
33 36
 			$this->mounts[$userId] = [];
Please login to merge, or discard this patch.
apps/files/tests/activitytest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -357,6 +357,9 @@
 block discarded – undo
357 357
 		$result->closeCursor();
358 358
 	}
359 359
 
360
+	/**
361
+	 * @param string $user
362
+	 */
360 363
 	protected function mockUserSession($user) {
361 364
 		$mockUser = $this->getMockBuilder('\OCP\IUser')
362 365
 			->disableOriginalConstructor()
Please login to merge, or discard this patch.
tests/lib/files/node/file.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -21,6 +21,9 @@
 block discarded – undo
21 21
 		$this->user = new \OC\User\User('', new \Test\Util\User\Dummy);
22 22
 	}
23 23
 
24
+	/**
25
+	 * @return \OC\Files\Storage\Storage
26
+	 */
24 27
 	protected function getMockStorage() {
25 28
 		$storage = $this->getMock('\OCP\Files\Storage');
26 29
 		$storage->expects($this->any())
Please login to merge, or discard this patch.
apps/files_versions/tests/versions.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -759,6 +759,10 @@  discard block
 block discarded – undo
759 759
 		);
760 760
 	}
761 761
 
762
+	/**
763
+	 * @param OC\Files\View $view
764
+	 * @param string $path
765
+	 */
762 766
 	private function createAndCheckVersions($view, $path) {
763 767
 		$view->file_put_contents($path, 'test file');
764 768
 		$view->file_put_contents($path, 'version 1');
@@ -782,7 +786,6 @@  discard block
 block discarded – undo
782 786
 	/**
783 787
 	 * @param string $user
784 788
 	 * @param bool $create
785
-	 * @param bool $password
786 789
 	 */
787 790
 	public static function loginHelper($user, $create = false) {
788 791
 
Please login to merge, or discard this patch.
apps/provisioning_api/lib/users.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -470,7 +470,7 @@
 block discarded – undo
470 470
 	/**
471 471
 	 * @param string $userId
472 472
 	 * @param array $data
473
-	 * @return mixed
473
+	 * @return string
474 474
 	 * @throws \OCP\Files\NotFoundException
475 475
 	 */
476 476
 	private static function fillStorageInfo($userId, $data) {
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/app/appmanager.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
 	/**
90 90
 	 * List all installed apps
91 91
 	 *
92
-	 * @return string[]
92
+	 * @return integer[]
93 93
 	 */
94 94
 	public function getInstalledApps() {
95 95
 		return array_keys($this->getInstalledAppsValues());
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
 	/**
222 222
 	 * Returns a list of apps that need upgrade
223 223
 	 *
224
-	 * @param array $version ownCloud version as array of version components
224
+	 * @param array $ocVersion ownCloud version as array of version components
225 225
 	 * @return array list of app info from apps that need an upgrade
226 226
 	 *
227 227
 	 * @internal
Please login to merge, or discard this patch.
lib/private/connector/sabre/auth.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@
 block discarded – undo
150 150
 
151 151
 	/**
152 152
 	 * @param \Sabre\DAV\Server $server
153
-	 * @param $realm
153
+	 * @param string $realm
154 154
 	 * @return bool
155 155
 	 */
156 156
 	private function auth(\Sabre\DAV\Server $server, $realm) {
Please login to merge, or discard this patch.