diff --git a/lib/files/cache/legacy.php b/lib/files/cache/legacy.php
index d9ba36bb3a44e572ab98b9e24972a8d7d460cea4..ddee75e972b594d8f6ed1c69c949df467b954c59 100644
--- a/lib/files/cache/legacy.php
+++ b/lib/files/cache/legacy.php
@@ -84,6 +84,12 @@ class Legacy {
 		return $data;
 	}
 
+	/**
+	 * Get the ETag for the given path
+	 *
+	 * @param type $path
+	 * @return string
+	 */
 	function getEtag($path) {
 		list(, $user, , $relativePath) = explode('/', $path, 4);
 		if (is_null($relativePath)) {