Completed
Pull Request — master (#26112)
by Thomas
12:39
created
lib/private/Memcache/APC.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.
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.
lib/private/Memcache/ArrayCache.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.
lib/private/Memcache/Memcached.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.
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/AppFramework/Http.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
 
111 111
 	/**
112 112
 	 * Gets the correct header
113
-	 * @param Http::CONSTANT $status the constant from the Http class
113
+	 * @param integer $status the constant from the Http class
114 114
 	 * @param \DateTime $lastModified formatted last modified date
115 115
 	 * @param string $ETag the etag
116 116
 	 * @return string
Please login to merge, or discard this patch.
lib/private/AppFramework/Utility/ControllerMethodReflector.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 
47 47
 
48 48
 	/**
49
-	 * @param object $object an object or classname
49
+	 * @param \OCP\AppFramework\Controller $object an object or classname
50 50
 	 * @param string $method the method which we want to inspect
51 51
 	 */
52 52
 	public function reflect($object, $method){
Please login to merge, or discard this patch.
lib/private/Encryption/Util.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,6 @@
 block discarded – undo
30 30
 use OC\Files\Filesystem;
31 31
 use OC\Files\View;
32 32
 use OCP\Encryption\IEncryptionModule;
33
-use OCP\Files\Storage;
34 33
 use OCP\IConfig;
35 34
 
36 35
 class Util {
Please login to merge, or discard this patch.
lib/private/Files/Cache/Cache.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.