diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-02-08 11:47:55 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-02-08 11:47:55 +0100 |
commit | b330d07b51a983dc563a91244a3c83e691c9e97d (patch) | |
tree | 1142ec91b86d5da36e568ffcb4a25f5fd55b01fe /lib/private/archive | |
parent | 81031984a6714feffc8b1a8e523988ab83f56515 (diff) | |
download | nextcloud-server-b330d07b51a983dc563a91244a3c83e691c9e97d.tar.gz nextcloud-server-b330d07b51a983dc563a91244a3c83e691c9e97d.zip |
Fix more documentation failes
Issue #7111
Diffstat (limited to 'lib/private/archive')
-rw-r--r-- | lib/private/archive/tar.php | 31 | ||||
-rw-r--r-- | lib/private/archive/zip.php | 33 |
2 files changed, 30 insertions, 34 deletions
diff --git a/lib/private/archive/tar.php b/lib/private/archive/tar.php index 224c8b82cc7..5538e027ab4 100644 --- a/lib/private/archive/tar.php +++ b/lib/private/archive/tar.php @@ -30,7 +30,7 @@ class OC_Archive_TAR extends OC_Archive{ /** * try to detect the type of tar compression - * @param string file + * @param string $file * @return integer */ static public function getTarType($file) { @@ -53,7 +53,7 @@ class OC_Archive_TAR extends OC_Archive{ /** * add an empty folder to the archive - * @param string path + * @param string $path * @return bool */ function addFolder($path) { @@ -80,8 +80,8 @@ class OC_Archive_TAR extends OC_Archive{ } /** * add a file to the archive - * @param string path - * @param string source either a local file or string data + * @param string $path + * @param string $source either a local file or string data * @return bool */ function addFile($path, $source='') { @@ -103,8 +103,8 @@ class OC_Archive_TAR extends OC_Archive{ /** * rename a file or folder in the archive - * @param string source - * @param string dest + * @param string $source + * @param string $dest * @return bool */ function rename($source, $dest) { @@ -139,7 +139,7 @@ class OC_Archive_TAR extends OC_Archive{ /** * get the uncompressed size of a file in the archive - * @param string path + * @param string $path * @return int */ function filesize($path) { @@ -158,7 +158,7 @@ class OC_Archive_TAR extends OC_Archive{ /** * get the files in a folder - * @param path + * @param string $path * @return array */ function getFolder($path) { @@ -201,7 +201,7 @@ class OC_Archive_TAR extends OC_Archive{ } /** * get the content of a file - * @param string path + * @param string $path * @return string */ function getFile($path) { @@ -209,8 +209,7 @@ class OC_Archive_TAR extends OC_Archive{ } /** * extract a single file from the archive - * @param string path - * @param string dest + * @param string $path * @param string $dest * @return bool */ @@ -232,8 +231,6 @@ class OC_Archive_TAR extends OC_Archive{ } /** * extract the archive - * @param string path - * @param string dest * @param string $dest * @return bool */ @@ -242,7 +239,7 @@ class OC_Archive_TAR extends OC_Archive{ } /** * check if a file or folder exists in the archive - * @param string path + * @param string $path * @return bool */ function fileExists($path) { @@ -270,7 +267,7 @@ class OC_Archive_TAR extends OC_Archive{ /** * remove a file or folder from the archive - * @param string path + * @param string $path * @return bool */ function remove($path) { @@ -291,8 +288,8 @@ class OC_Archive_TAR extends OC_Archive{ } /** * get a file handler - * @param string path - * @param string mode + * @param string $path + * @param string $mode * @return resource */ function getStream($path, $mode) { diff --git a/lib/private/archive/zip.php b/lib/private/archive/zip.php index 4cb83087e29..cd5479299a1 100644 --- a/lib/private/archive/zip.php +++ b/lib/private/archive/zip.php @@ -23,7 +23,7 @@ class OC_Archive_ZIP extends OC_Archive{ } /** * add an empty folder to the archive - * @param string path + * @param string $path * @return bool */ function addFolder($path) { @@ -31,8 +31,8 @@ class OC_Archive_ZIP extends OC_Archive{ } /** * add a file to the archive - * @param string path - * @param string source either a local file or string data + * @param string $path + * @param string $source either a local file or string data * @return bool */ function addFile($path, $source='') { @@ -49,8 +49,8 @@ class OC_Archive_ZIP extends OC_Archive{ } /** * rename a file or folder in the archive - * @param string source - * @param string dest + * @param string $source + * @param string $dest * @return boolean|null */ function rename($source, $dest) { @@ -60,7 +60,7 @@ class OC_Archive_ZIP extends OC_Archive{ } /** * get the uncompressed size of a file in the archive - * @param string path + * @param string $path * @return int */ function filesize($path) { @@ -69,7 +69,7 @@ class OC_Archive_ZIP extends OC_Archive{ } /** * get the last modified time of a file in the archive - * @param string path + * @param string $path * @return int */ function mtime($path) { @@ -77,7 +77,7 @@ class OC_Archive_ZIP extends OC_Archive{ } /** * get the files in a folder - * @param path + * @param string $path * @return array */ function getFolder($path) { @@ -107,7 +107,7 @@ class OC_Archive_ZIP extends OC_Archive{ } /** * get the content of a file - * @param string path + * @param string $path * @return string */ function getFile($path) { @@ -115,8 +115,7 @@ class OC_Archive_ZIP extends OC_Archive{ } /** * extract a single file from the archive - * @param string path - * @param string dest + * @param string $path * @param string $dest * @return boolean|null */ @@ -126,8 +125,7 @@ class OC_Archive_ZIP extends OC_Archive{ } /** * extract the archive - * @param string path - * @param string dest + * @param string $path * @param string $dest * @return bool */ @@ -136,7 +134,7 @@ class OC_Archive_ZIP extends OC_Archive{ } /** * check if a file or folder exists in the archive - * @param string path + * @param string $path * @return bool */ function fileExists($path) { @@ -144,7 +142,7 @@ class OC_Archive_ZIP extends OC_Archive{ } /** * remove a file or folder from the archive - * @param string path + * @param string $path * @return bool */ function remove($path) { @@ -156,8 +154,8 @@ class OC_Archive_ZIP extends OC_Archive{ } /** * get a file handler - * @param string path - * @param string mode + * @param string $path + * @param string $mode * @return resource */ function getStream($path, $mode) { @@ -194,6 +192,7 @@ class OC_Archive_ZIP extends OC_Archive{ } /** + * @param string $path * @return string */ private function stripPath($path) { |