Completed
Pull Request — master (#27532)
by Piotr
10:11
created
lib/private/Files/Stream/Checksum.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,8 +64,8 @@  discard block
 block discarded – undo
64 64
 
65 65
 
66 66
 	/**
67
-	 * @param $source
68
-	 * @param $path
67
+	 * @param resource $source
68
+	 * @param string $path
69 69
 	 * @return resource
70 70
 	 */
71 71
 	public static function wrap($source, $path) {
@@ -126,6 +126,9 @@  discard block
 block discarded – undo
126 126
 		return parent::stream_write($data);
127 127
 	}
128 128
 
129
+	/**
130
+	 * @param string $data
131
+	 */
129 132
 	private function updateHashingContexts($data) {
130 133
 		foreach ($this->hashingContexts as $ctx) {
131 134
 			hash_update($ctx, $data);
@@ -194,7 +197,7 @@  discard block
 block discarded – undo
194 197
 	}
195 198
 
196 199
 	/**
197
-	 * @return mixed
200
+	 * @return string
198 201
 	 * @return string
199 202
 	 */
200 203
 	private function getPathFromStreamContext() {
Please login to merge, or discard this patch.