aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/archive.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-02-08 11:47:55 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-02-08 11:47:55 +0100
commitb330d07b51a983dc563a91244a3c83e691c9e97d (patch)
tree1142ec91b86d5da36e568ffcb4a25f5fd55b01fe /lib/private/archive.php
parent81031984a6714feffc8b1a8e523988ab83f56515 (diff)
downloadnextcloud-server-b330d07b51a983dc563a91244a3c83e691c9e97d.tar.gz
nextcloud-server-b330d07b51a983dc563a91244a3c83e691c9e97d.zip
Fix more documentation failes
Issue #7111
Diffstat (limited to 'lib/private/archive.php')
-rw-r--r--lib/private/archive.php35
1 files changed, 16 insertions, 19 deletions
diff --git a/lib/private/archive.php b/lib/private/archive.php
index 9fe553f7141..a18f8d3ffbd 100644
--- a/lib/private/archive.php
+++ b/lib/private/archive.php
@@ -9,7 +9,6 @@
abstract class OC_Archive{
/**
* open any of the supported archive types
- * @param string path
* @param string $path
* @return OC_Archive
*/
@@ -33,41 +32,39 @@ abstract class OC_Archive{
abstract function __construct($source);
/**
* add an empty folder to the archive
- * @param string path
* @param string $path
* @return bool
*/
abstract function addFolder($path);
/**
* 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
*/
abstract function addFile($path, $source='');
/**
* rename a file or folder in the archive
- * @param string source
- * @param string dest
+ * @param string $source
+ * @param string $dest
* @return bool
*/
abstract function rename($source, $dest);
/**
* get the uncompressed size of a file in the archive
- * @param string path
+ * @param string $path
* @return int
*/
abstract function filesize($path);
/**
* get the last modified time of a file in the archive
- * @param string path
+ * @param string $path
* @return int
*/
abstract function mtime($path);
/**
* get the files in a folder
- * @param path
+ * @param string $path
* @return array
*/
abstract function getFolder($path);
@@ -78,47 +75,47 @@ abstract class OC_Archive{
abstract function getFiles();
/**
* get the content of a file
- * @param string path
+ * @param string $path
* @return string
*/
abstract function getFile($path);
/**
* extract a single file from the archive
- * @param string path
- * @param string dest
+ * @param string $path
+ * @param string $dest
* @return bool
*/
abstract function extractFile($path, $dest);
/**
* extract the archive
- * @param string path
- * @param string dest
+ * @param string $path
+ * @param string $dest
* @return bool
*/
abstract function extract($dest);
/**
* check if a file or folder exists in the archive
- * @param string path
+ * @param string $path
* @return bool
*/
abstract function fileExists($path);
/**
* remove a file or folder from the archive
- * @param string path
+ * @param string $path
* @return bool
*/
abstract function remove($path);
/**
* get a file handler
- * @param string path
- * @param string mode
+ * @param string $path
+ * @param string $mode
* @return resource
*/
abstract function getStream($path, $mode);
/**
* add a folder and all its content
* @param string $path
- * @param string source
+ * @param string $source
* @return boolean|null
*/
function addRecursive($path, $source) {