Better phpdoc for Share::dir

This commit is contained in:
Robin Appelman 2014-07-09 18:17:31 +02:00
commit 46c122d6c1

View file

@ -71,8 +71,18 @@ class Share {
/**
* List the content of a remote folder
*
* Returns a nested array in the format of
* [
* $name => [
* 'size' => $size,
* 'type' => $type,
* 'time' => $mtime
* ],
* ...
* ]
*
* @param $path
* @return array
* @return array[]
*/
public function dir($path) {
$path = $this->escapePath($path);