From 2a6a9a8cefcf68f48d95e124db0c1b7edc9fe356 Mon Sep 17 00:00:00 2001 From: Jörn Friedrich Dreyer Date: Thu, 6 Feb 2014 16:30:58 +0100 Subject: polish documentation based on scrutinizer patches --- lib/private/archive.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/private/archive.php') 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); -- cgit v1.2.3