Completed
Pull Request — stable8.2 (#26410)
by Thomas
38:55
created
tests/lib/files/node/node.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@
 block discarded – undo
18 18
 		$this->user = new \OC\User\User('', new \Test\Util\User\Dummy);
19 19
 	}
20 20
 
21
+	/**
22
+	 * @return \OC\Files\Storage\Storage
23
+	 */
21 24
 	protected function getMockStorage() {
22 25
 		$storage = $this->getMock('\OCP\Files\Storage');
23 26
 		$storage->expects($this->any())
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
@@ -18,6 +18,9 @@
 block discarded – undo
18 18
 		$this->user = new \OC\User\User('', new \Test\Util\User\Dummy);
19 19
 	}
20 20
 
21
+	/**
22
+	 * @return \OC\Files\Storage\Storage
23
+	 */
21 24
 	protected function getMockStorage() {
22 25
 		$storage = $this->getMock('\OCP\Files\Storage');
23 26
 		$storage->expects($this->any())
Please login to merge, or discard this patch.
tests/lib/files/node/folder.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@
 block discarded – undo
18 18
 		$this->user = new \OC\User\User('', new \Test\Util\User\Dummy);
19 19
 	}
20 20
 
21
+	/**
22
+	 * @return \OC\Files\Storage\Storage
23
+	 */
21 24
 	protected function getMockStorage() {
22 25
 		$storage = $this->getMock('\OCP\Files\Storage');
23 26
 		$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/autoloader.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -129,6 +129,9 @@
 block discarded – undo
129 129
 		return $paths;
130 130
 	}
131 131
 
132
+	/**
133
+	 * @param string $fullPath
134
+	 */
132 135
 	protected function isValidPath($fullPath) {
133 136
 		foreach ($this->validRoots as $root => $true) {
134 137
 			if (substr($fullPath, 0, strlen($root) + 1) === $root . '/') {
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.