aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/archive.php
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2014-02-06 16:30:58 +0100
committerJörn Friedrich Dreyer <jfd@butonic.de>2014-02-06 17:02:21 +0100
commit2a6a9a8cefcf68f48d95e124db0c1b7edc9fe356 (patch)
tree66d682a22c3d12d1838822fc52cdd48fa765f5df /lib/private/archive.php
parent0d94da7e9ef9550c8ae0244b203ca84e5ee007b0 (diff)
downloadnextcloud-server-2a6a9a8cefcf68f48d95e124db0c1b7edc9fe356.tar.gz
nextcloud-server-2a6a9a8cefcf68f48d95e124db0c1b7edc9fe356.zip
polish documentation based on scrutinizer patches
Diffstat (limited to 'lib/private/archive.php')
-rw-r--r--lib/private/archive.php5
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);