Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-12-03 13:03:17 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-12-29 11:07:36 +0300
commit73c7d0dc8156703341733b9c39c69d05263173da (patch)
treeb960b9acb15d29aa5dded5aaedbe07eda651ecc3 /lib/public/Files
parent083f3d23737b99fafec87c64df99e9c09cde71c7 (diff)
Bump icewind/streams from 0.7.1 to 0.7.2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/public/Files')
-rw-r--r--lib/public/Files/SimpleFS/ISimpleFile.php2
-rw-r--r--lib/public/Files/Storage.php28
-rw-r--r--lib/public/Files/Storage/IStorage.php26
3 files changed, 28 insertions, 28 deletions
diff --git a/lib/public/Files/SimpleFS/ISimpleFile.php b/lib/public/Files/SimpleFS/ISimpleFile.php
index 06039d5397d..ad39460c4bf 100644
--- a/lib/public/Files/SimpleFS/ISimpleFile.php
+++ b/lib/public/Files/SimpleFS/ISimpleFile.php
@@ -114,7 +114,7 @@ interface ISimpleFile {
/**
* Open the file as stream for writing, resulting resource can be operated as stream like the result from php's own fopen
*
- * @return resource
+ * @return resource|bool
* @throws \OCP\Files\NotPermittedException
* @since 14.0.0
*/
diff --git a/lib/public/Files/Storage.php b/lib/public/Files/Storage.php
index 2033fe5d28a..82f96f805dc 100644
--- a/lib/public/Files/Storage.php
+++ b/lib/public/Files/Storage.php
@@ -92,7 +92,7 @@ interface Storage extends IStorage {
* see https://www.php.net/manual/en/function.opendir.php
*
* @param string $path
- * @return resource|false
+ * @return resource|bool
* @since 6.0.0
*/
public function opendir($path);
@@ -120,7 +120,7 @@ interface Storage extends IStorage {
* only the following keys are required in the result: size and mtime
*
* @param string $path
- * @return array|false
+ * @return array|bool
* @since 6.0.0
*/
public function stat($path);
@@ -129,7 +129,7 @@ interface Storage extends IStorage {
* see https://www.php.net/manual/en/function.filetype.php
*
* @param string $path
- * @return string|false
+ * @return string|bool
* @since 6.0.0
*/
public function filetype($path);
@@ -139,7 +139,7 @@ interface Storage extends IStorage {
* The result for filesize when called on a folder is required to be 0
*
* @param string $path
- * @return int|false
+ * @return int|bool
* @since 6.0.0
*/
public function filesize($path);
@@ -212,7 +212,7 @@ interface Storage extends IStorage {
* see https://www.php.net/manual/en/function.filemtime.php
*
* @param string $path
- * @return int|false
+ * @return int|bool
* @since 6.0.0
*/
public function filemtime($path);
@@ -221,7 +221,7 @@ interface Storage extends IStorage {
* see https://www.php.net/manual/en/function.file_get_contents.php
*
* @param string $path
- * @return string|false
+ * @return string|bool
* @since 6.0.0
*/
public function file_get_contents($path);
@@ -270,7 +270,7 @@ interface Storage extends IStorage {
*
* @param string $path
* @param string $mode
- * @return resource|false
+ * @return resource|bool
* @since 6.0.0
*/
public function fopen($path, $mode);
@@ -280,7 +280,7 @@ interface Storage extends IStorage {
* The mimetype for a folder is required to be "httpd/unix-directory"
*
* @param string $path
- * @return string|false
+ * @return string|bool
* @since 6.0.0
*/
public function getMimeType($path);
@@ -291,7 +291,7 @@ interface Storage extends IStorage {
* @param string $type
* @param string $path
* @param bool $raw
- * @return string|false
+ * @return string|bool
* @since 6.0.0
*/
public function hash($type, $path, $raw = false);
@@ -300,7 +300,7 @@ interface Storage extends IStorage {
* see https://www.php.net/manual/en/function.free_space.php
*
* @param string $path
- * @return int|false
+ * @return int|bool
* @since 6.0.0
*/
public function free_space($path);
@@ -309,7 +309,7 @@ interface Storage extends IStorage {
* search for occurrences of $query in file names
*
* @param string $query
- * @return array|false
+ * @return array|bool
* @since 6.0.0
*/
public function search($query);
@@ -330,7 +330,7 @@ interface Storage extends IStorage {
* The local version of the file can be temporary and doesn't have to be persistent across requests
*
* @param string $path
- * @return string|false
+ * @return string|bool
* @since 6.0.0
*/
public function getLocalFile($path);
@@ -352,7 +352,7 @@ interface Storage extends IStorage {
* get the ETag for a file or folder
*
* @param string $path
- * @return string|false
+ * @return string|bool
* @since 6.0.0
*/
public function getETag($path);
@@ -384,7 +384,7 @@ interface Storage extends IStorage {
* For now the returned array can hold the parameter url - in future more attributes might follow.
*
* @param string $path
- * @return array|false
+ * @return array|bool
* @since 8.0.0
*/
public function getDirectDownload($path);
diff --git a/lib/public/Files/Storage/IStorage.php b/lib/public/Files/Storage/IStorage.php
index 0f5e3e5f305..e93278684fd 100644
--- a/lib/public/Files/Storage/IStorage.php
+++ b/lib/public/Files/Storage/IStorage.php
@@ -88,7 +88,7 @@ interface IStorage {
* see https://www.php.net/manual/en/function.opendir.php
*
* @param string $path
- * @return resource|false
+ * @return resource|bool
* @since 9.0.0
*/
public function opendir($path);
@@ -116,7 +116,7 @@ interface IStorage {
* only the following keys are required in the result: size and mtime
*
* @param string $path
- * @return array|false
+ * @return array|bool
* @since 9.0.0
*/
public function stat($path);
@@ -125,7 +125,7 @@ interface IStorage {
* see https://www.php.net/manual/en/function.filetype.php
*
* @param string $path
- * @return string|false
+ * @return string|bool
* @since 9.0.0
*/
public function filetype($path);
@@ -135,7 +135,7 @@ interface IStorage {
* The result for filesize when called on a folder is required to be 0
*
* @param string $path
- * @return int|false
+ * @return int|bool
* @since 9.0.0
*/
public function filesize($path);
@@ -208,7 +208,7 @@ interface IStorage {
* see https://www.php.net/manual/en/function.filemtime.php
*
* @param string $path
- * @return int|false
+ * @return int|bool
* @since 9.0.0
*/
public function filemtime($path);
@@ -217,7 +217,7 @@ interface IStorage {
* see https://www.php.net/manual/en/function.file_get_contents.php
*
* @param string $path
- * @return string|false
+ * @return string|bool
* @since 9.0.0
*/
public function file_get_contents($path);
@@ -266,7 +266,7 @@ interface IStorage {
*
* @param string $path
* @param string $mode
- * @return resource|false
+ * @return resource|bool
* @since 9.0.0
*/
public function fopen($path, $mode);
@@ -276,7 +276,7 @@ interface IStorage {
* The mimetype for a folder is required to be "httpd/unix-directory"
*
* @param string $path
- * @return string|false
+ * @return string|bool
* @since 9.0.0
*/
public function getMimeType($path);
@@ -287,7 +287,7 @@ interface IStorage {
* @param string $type
* @param string $path
* @param bool $raw
- * @return string|false
+ * @return string|bool
* @since 9.0.0
*/
public function hash($type, $path, $raw = false);
@@ -296,7 +296,7 @@ interface IStorage {
* see https://www.php.net/manual/en/function.free_space.php
*
* @param string $path
- * @return int|false
+ * @return int|bool
* @since 9.0.0
*/
public function free_space($path);
@@ -317,7 +317,7 @@ interface IStorage {
* The local version of the file can be temporary and doesn't have to be persistent across requests
*
* @param string $path
- * @return string|false
+ * @return string|bool
* @since 9.0.0
*/
public function getLocalFile($path);
@@ -339,7 +339,7 @@ interface IStorage {
* get the ETag for a file or folder
*
* @param string $path
- * @return string|false
+ * @return string|bool
* @since 9.0.0
*/
public function getETag($path);
@@ -371,7 +371,7 @@ interface IStorage {
* For now the returned array can hold the parameter url - in future more attributes might follow.
*
* @param string $path
- * @return array|false
+ * @return array|bool
* @since 9.0.0
*/
public function getDirectDownload($path);