Completed
Push — master ( fd9633...5f3c46 )
by Robin
117:54
created
build/integration/features/bootstrap/Sharing.php 2 patches
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@  discard block
 block discarded – undo
19 19
 
20 20
 	/**
21 21
 	 * @When /^creating a share with$/
22
-	 * @param \Behat\Gherkin\Node\TableNode|null $formData
23 22
 	 */
24 23
 	public function creatingShare($body) {
25 24
 		$fullUrl = $this->baseUrl . "v{$this->apiVersion}.php/apps/files_sharing/api/v1/shares";
@@ -149,6 +148,9 @@  discard block
 block discarded – undo
149 148
 		PHPUnit_Framework_Assert::assertEquals(200, $this->response->getStatusCode());
150 149
 	}
151 150
 
151
+	/**
152
+	 * @param integer $shareType
153
+	 */
152 154
 	public function createShare($user,
153 155
 								$path = null,
154 156
 								$shareType = null,
@@ -356,7 +358,6 @@  discard block
 block discarded – undo
356 358
 
357 359
 	/**
358 360
 	 * @Then /^Share fields of last share match with$/
359
-	 * @param \Behat\Gherkin\Node\TableNode|null $formData
360 361
 	 */
361 362
 	public function checkShareFields($body){
362 363
 		if ($body instanceof \Behat\Gherkin\Node\TableNode) {
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -1,9 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Behat\Behat\Context\Context;
4
-use Behat\Behat\Context\SnippetAcceptingContext;
5 3
 use GuzzleHttp\Client;
6
-use GuzzleHttp\Message\ResponseInterface;
7 4
 
8 5
 require __DIR__ . '/../../vendor/autoload.php';
9 6
 
Please login to merge, or discard this patch.
build/integration/features/bootstrap/WebDav.php 2 patches
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -1,9 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Behat\Behat\Context\Context;
4
-use Behat\Behat\Context\SnippetAcceptingContext;
5 3
 use GuzzleHttp\Client;
6
-use GuzzleHttp\Message\ResponseInterface;
7 4
 
8 5
 require __DIR__ . '/../../vendor/autoload.php';
9 6
 
Please login to merge, or discard this patch.
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -21,6 +21,9 @@  discard block
 block discarded – undo
21 21
 		$this->davPath = $davPath;
22 22
 	}	
23 23
 
24
+	/**
25
+	 * @param string $method
26
+	 */
24 27
 	public function makeDavRequest($user, $method, $path, $headers){
25 28
 		$fullUrl = substr($this->baseUrl, 0, -4) . $this->davPath . "$path";
26 29
 		$client = new GClient();
@@ -75,6 +78,11 @@  discard block
 block discarded – undo
75 78
 	}
76 79
 
77 80
 	/*Returns the elements of a propfind, $folderDepth requires 1 to see elements without children*/
81
+
82
+	/**
83
+	 * @param string $path
84
+	 * @param integer $folderDepth
85
+	 */
78 86
 	public function listFolder($user, $path, $folderDepth){
79 87
 		$fullUrl = substr($this->baseUrl, 0, -4);
80 88
 
Please login to merge, or discard this patch.
lib/private/user/user.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -310,7 +310,7 @@
 block discarded – undo
310 310
 	/**
311 311
 	 * get the users email address
312 312
 	 *
313
-	 * @return string|null
313
+	 * @return string
314 314
 	 * @since 9.0.0
315 315
 	 */
316 316
 	public function getEMailAddress() {
Please login to merge, or discard this patch.
apps/encryption/lib/crypto/crypt.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -422,7 +422,7 @@
 block discarded – undo
422 422
 	/**
423 423
 	 * remove padding
424 424
 	 *
425
-	 * @param $padded
425
+	 * @param string $padded
426 426
 	 * @return string|false
427 427
 	 */
428 428
 	private function removePadding($padded) {
Please login to merge, or discard this patch.
apps/encryption/lib/keymanager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -777,7 +777,7 @@
 block discarded – undo
777 777
 	/**
778 778
 	 * check if path points to a files version
779 779
 	 *
780
-	 * @param $path
780
+	 * @param string $path
781 781
 	 * @return bool
782 782
 	 */
783 783
 	protected function isVersion($path) {
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.
apps/files_external/command/config.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -26,11 +26,8 @@
 block discarded – undo
26 26
 use OCA\Files_external\NotFoundException;
27 27
 use OCA\Files_external\Service\GlobalStoragesService;
28 28
 use Symfony\Component\Console\Command\Command;
29
-use Symfony\Component\Console\Helper\Table;
30
-use Symfony\Component\Console\Helper\TableHelper;
31 29
 use Symfony\Component\Console\Input\InputArgument;
32 30
 use Symfony\Component\Console\Input\InputInterface;
33
-use Symfony\Component\Console\Input\InputOption;
34 31
 use Symfony\Component\Console\Output\OutputInterface;
35 32
 
36 33
 class Config extends Base {
Please login to merge, or discard this patch.
settings/controller/checksetupcontroller.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -268,7 +268,7 @@
 block discarded – undo
268 268
 
269 269
 	/**
270 270
 	 * @NoCSRFRequired
271
-	 * @return DataResponse
271
+	 * @return DataDisplayResponse
272 272
 	 */
273 273
 	public function getFailedIntegrityCheckFiles() {
274 274
 		$completeResults = $this->checker->getResults();
Please login to merge, or discard this patch.
lib/private/avatar.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
 
97 97
 	/**
98 98
 	 * sets the users avatar
99
-	 * @param \OCP\IImage|resource|string $data An image object, imagedata or path to set a new avatar
99
+	 * @param null|string $data An image object, imagedata or path to set a new avatar
100 100
 	 * @throws \Exception if the provided file is not a jpg or png image
101 101
 	 * @throws \Exception if the provided image is not valid
102 102
 	 * @throws \OC\NotSquareException if the image is not square
Please login to merge, or discard this patch.