summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Archive/Archive.php2
-rw-r--r--lib/private/Archive/TAR.php2
-rw-r--r--lib/private/Archive/ZIP.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/Archive/Archive.php b/lib/private/Archive/Archive.php
index 633e5e8ab0e..20d56e50e76 100644
--- a/lib/private/Archive/Archive.php
+++ b/lib/private/Archive/Archive.php
@@ -113,7 +113,7 @@ abstract class Archive {
* get a file handler
* @param string $path
* @param string $mode
- * @return resource
+ * @return bool|resource
*/
abstract public function getStream($path, $mode);
/**
diff --git a/lib/private/Archive/TAR.php b/lib/private/Archive/TAR.php
index a9dd28b389b..f68813752cc 100644
--- a/lib/private/Archive/TAR.php
+++ b/lib/private/Archive/TAR.php
@@ -339,7 +339,7 @@ class TAR extends Archive {
*
* @param string $path
* @param string $mode
- * @return resource
+ * @return bool|resource
*/
public function getStream($path, $mode) {
if (strrpos($path, '.') !== false) {
diff --git a/lib/private/Archive/ZIP.php b/lib/private/Archive/ZIP.php
index fd34f4d4cea..96894bac6e9 100644
--- a/lib/private/Archive/ZIP.php
+++ b/lib/private/Archive/ZIP.php
@@ -187,7 +187,7 @@ class ZIP extends Archive {
* get a file handler
* @param string $path
* @param string $mode
- * @return resource
+ * @return bool|resource
*/
public function getStream($path, $mode) {
if ($mode == 'r' or $mode == 'rb') {