Completed
Push — master ( 656b54...a1444d )
by Morris
83:46
created
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.
lib/private/comments/manager.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
 	/**
161 161
 	 * removes an entry from the comments run time cache
162 162
 	 *
163
-	 * @param mixed $id the comment's id
163
+	 * @param string $id the comment's id
164 164
 	 */
165 165
 	protected function uncache($id) {
166 166
 		$id = strval($id);
@@ -324,8 +324,8 @@  discard block
 block discarded – undo
324 324
 	}
325 325
 
326 326
 	/**
327
-	 * @param $objectType string the object type, e.g. 'files'
328
-	 * @param $objectId string the id of the object
327
+	 * @param string $objectType string the object type, e.g. 'files'
328
+	 * @param string $objectId string the id of the object
329 329
 	 * @return Int
330 330
 	 * @since 9.0.0
331 331
 	 */
Please login to merge, or discard this patch.
apps/federation/api/ocsauthapi.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,6 @@
 block discarded – undo
28 28
 use OCP\BackgroundJob\IJobList;
29 29
 use OCP\IRequest;
30 30
 use OCP\Security\ISecureRandom;
31
-use OCP\Security\StringUtils;
32 31
 
33 32
 /**
34 33
  * Class OCSAuthAPI
Please login to merge, or discard this patch.
lib/private/cache/file.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,9 +90,9 @@
 block discarded – undo
90 90
 
91 91
 	/**
92 92
 	 * @param string $key
93
-	 * @param mixed $value
93
+	 * @param string|null $value
94 94
 	 * @param int $ttl
95
-	 * @return bool|mixed
95
+	 * @return boolean
96 96
 	 * @throws \OC\ForbiddenException
97 97
 	 */
98 98
 	public function set($key, $value, $ttl = 0) {
Please login to merge, or discard this patch.
lib/private/app/platform.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
 
23 23
 namespace OC\App;
24 24
 
25
-use OC_Util;
26 25
 use OCP\IConfig;
27 26
 
28 27
 /**
Please login to merge, or discard this patch.
lib/private/memcache/apcu.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
 	 * Set a value in the cache if it's not already stored
121 121
 	 *
122 122
 	 * @param string $key
123
-	 * @param mixed $value
123
+	 * @param integer $value
124 124
 	 * @param int $ttl Time To Live in seconds. Defaults to 60*60*24
125 125
 	 * @return bool
126 126
 	 */
Please login to merge, or discard this patch.
apps/dav/lib/carddav/sharing/plugin.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -8,8 +8,6 @@
 block discarded – undo
8 8
 use Sabre\DAV\Exception\NotFound;
9 9
 use Sabre\DAV\Server;
10 10
 use Sabre\DAV\ServerPlugin;
11
-use Sabre\DAV\XMLUtil;
12
-use Sabre\DAVACL\IACL;
13 11
 use Sabre\HTTP\RequestInterface;
14 12
 use Sabre\HTTP\ResponseInterface;
15 13
 
Please login to merge, or discard this patch.
tests/lib/appframework/utility/ControllerMethodReflectorTest.php 1 patch
Doc Comments   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -92,7 +92,6 @@  discard block
 block discarded – undo
92 92
 
93 93
 	/**
94 94
 	 * @Annotation
95
-	 * @param int $test
96 95
 	 */
97 96
 	public function testReadTypeIntAnnotations(){
98 97
 		$reader = new ControllerMethodReflector();
@@ -107,7 +106,7 @@  discard block
 block discarded – undo
107 106
 	/**
108 107
 	 * @Annotation
109 108
 	 * @param int $a
110
-	 * @param int $b
109
+	 * @param double $b
111 110
 	 */
112 111
 	public function arguments3($a, float $b, int $c, $d){}
113 112
 
@@ -130,7 +129,6 @@  discard block
 block discarded – undo
130 129
 
131 130
 	/**
132 131
 	 * @Annotation
133
-	 * @param double $test something special
134 132
 	 */
135 133
 	public function testReadTypeDoubleAnnotations(){
136 134
 		$reader = new ControllerMethodReflector();
@@ -144,7 +142,6 @@  discard block
 block discarded – undo
144 142
 
145 143
 	/**
146 144
 	 * @Annotation
147
-	 * @param 	string  $foo
148 145
 	 */
149 146
 	public function testReadTypeWhitespaceAnnotations(){
150 147
 		$reader = new ControllerMethodReflector();
Please login to merge, or discard this patch.