diff options
Diffstat (limited to 'lib/private/archive.php')
-rw-r--r-- | lib/private/archive.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/private/archive.php b/lib/private/archive.php index 85bfae57295..9fe553f7141 100644 --- a/lib/private/archive.php +++ b/lib/private/archive.php @@ -10,6 +10,7 @@ abstract class OC_Archive{ /** * open any of the supported archive types * @param string path + * @param string $path * @return OC_Archive */ public static function open($path) { @@ -33,6 +34,7 @@ abstract class OC_Archive{ /** * add an empty folder to the archive * @param string path + * @param string $path * @return bool */ abstract function addFolder($path); @@ -40,6 +42,7 @@ abstract class OC_Archive{ * add a file to the archive * @param string path * @param string source either a local file or string data + * @param string $path * @return bool */ abstract function addFile($path, $source=''); @@ -116,7 +119,7 @@ abstract class OC_Archive{ * add a folder and all its content * @param string $path * @param string source - * @return bool + * @return boolean|null */ function addRecursive($path, $source) { $dh = opendir($source); |