Completed
Pull Request — master (#31105)
by Jörn Friedrich
24:26 queued 04:12
created
lib/private/legacy/template/functions.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -190,6 +190,7 @@
 block discarded – undo
190 190
 
191 191
 /**
192 192
  * @param string $path
193
+ * @param string $token
193 194
  */
194 195
 function publicPreview_icon ($path, $token) {
195 196
 	return \OC::$server->getURLGenerator()->linkToRoute('core_ajax_public_preview', ['x' => 32, 'y' => 32, 'file' => $path, 't' => $token]);
Please login to merge, or discard this patch.
lib/public/Files.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
 	/**
68 68
 	 * Search for files by mimetype
69 69
 	 * @param string $mimetype
70
-	 * @return array
70
+	 * @return \OC\Files\FileInfo[]
71 71
 	 * @since 6.0.0
72 72
 	 */
73 73
 	static public function searchByMime($mimetype) {
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
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 	}
44 44
 
45 45
 	/**
46
-	 * @param object|string $object an object or classname
46
+	 * @param \OCP\AppFramework\Controller $object an object or classname
47 47
 	 * @param string $method the method which we want to inspect
48 48
 	 * @throws \ReflectionException
49 49
 	 */
Please login to merge, or discard this patch.
lib/private/Files/Stream/Checksum.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -61,8 +61,8 @@  discard block
 block discarded – undo
61 61
 	}
62 62
 
63 63
 	/**
64
-	 * @param $source
65
-	 * @param $path
64
+	 * @param resource $source
65
+	 * @param string $path
66 66
 	 * @return resource
67 67
 	 */
68 68
 	public static function wrap($source, $path) {
@@ -122,6 +122,9 @@  discard block
 block discarded – undo
122 122
 		return parent::stream_write($data);
123 123
 	}
124 124
 
125
+	/**
126
+	 * @param string $data
127
+	 */
125 128
 	private function updateHashingContexts($data) {
126 129
 		foreach ($this->hashingContexts as $ctx) {
127 130
 			\hash_update($ctx, $data);
@@ -195,7 +198,7 @@  discard block
 block discarded – undo
195 198
 	}
196 199
 
197 200
 	/**
198
-	 * @return mixed
201
+	 * @return string
199 202
 	 * @return string
200 203
 	 */
201 204
 	private function getPathFromStreamContext() {
Please login to merge, or discard this patch.
lib/private/Files/Storage/Wrapper/PermissionsMask.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,6 +77,9 @@  discard block
 block discarded – undo
77 77
 		return $this->storage->getPermissions($path) & $this->mask;
78 78
 	}
79 79
 
80
+	/**
81
+	 * @param string $path
82
+	 */
80 83
 	private function isPartFile($path) {
81 84
 		return \pathinfo($path, PATHINFO_EXTENSION) === 'part';
82 85
 	}
@@ -126,7 +129,7 @@  discard block
 block discarded – undo
126 129
 	 *
127 130
 	 * @param string $path
128 131
 	 * @param \OC\Files\Storage\Storage (optional) the storage to pass to the cache
129
-	 * @return \OC\Files\Cache\Cache
132
+	 * @return \OCP\Files\Cache\ICache
130 133
 	 */
131 134
 	public function getCache($path = '', $storage = null) {
132 135
 		if (!$storage) {
Please login to merge, or discard this patch.