Add PHPDoc
This commit is contained in:
parent
d9e07ca60a
commit
1d676fb0e6
|
@ -84,6 +84,12 @@ class Legacy {
|
||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the ETag for the given path
|
||||||
|
*
|
||||||
|
* @param type $path
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
function getEtag($path) {
|
function getEtag($path) {
|
||||||
list(, $user, , $relativePath) = explode('/', $path, 4);
|
list(, $user, , $relativePath) = explode('/', $path, 4);
|
||||||
if (is_null($relativePath)) {
|
if (is_null($relativePath)) {
|
||||||
|
|
Loading…
Reference in New Issue