aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/archive/tar.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/tar.php
parent0d94da7e9ef9550c8ae0244b203ca84e5ee007b0 (diff)
downloadnextcloud-server-2a6a9a8cefcf68f48d95e124db0c1b7edc9fe356.tar.gz
nextcloud-server-2a6a9a8cefcf68f48d95e124db0c1b7edc9fe356.zip
polish documentation based on scrutinizer patches
Diffstat (limited to 'lib/private/archive/tar.php')
-rw-r--r--lib/private/archive/tar.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/archive/tar.php b/lib/private/archive/tar.php
index a1c0535b1c3..224c8b82cc7 100644
--- a/lib/private/archive/tar.php
+++ b/lib/private/archive/tar.php
@@ -31,7 +31,7 @@ class OC_Archive_TAR extends OC_Archive{
/**
* try to detect the type of tar compression
* @param string file
- * @return str
+ * @return integer
*/
static public function getTarType($file) {
if(strpos($file, '.')) {
@@ -211,6 +211,7 @@ class OC_Archive_TAR extends OC_Archive{
* extract a single file from the archive
* @param string path
* @param string dest
+ * @param string $dest
* @return bool
*/
function extractFile($path, $dest) {
@@ -233,6 +234,7 @@ class OC_Archive_TAR extends OC_Archive{
* extract the archive
* @param string path
* @param string dest
+ * @param string $dest
* @return bool
*/
function extract($dest) {