summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Files/SimpleFS/ISimpleFile.php2
-rw-r--r--lib/public/Files/Storage.php6
-rw-r--r--lib/public/Files/Storage/IStorage.php6
3 files changed, 7 insertions, 7 deletions
diff --git a/lib/public/Files/SimpleFS/ISimpleFile.php b/lib/public/Files/SimpleFS/ISimpleFile.php
index e55261497be..8afc3108836 100644
--- a/lib/public/Files/SimpleFS/ISimpleFile.php
+++ b/lib/public/Files/SimpleFS/ISimpleFile.php
@@ -107,7 +107,7 @@ interface ISimpleFile {
/**
* Open the file as stream for reading, resulting resource can be operated as stream like the result from php's own fopen
*
- * @return resource
+ * @return resource|false
* @throws \OCP\Files\NotPermittedException
* @since 14.0.0
*/
diff --git a/lib/public/Files/Storage.php b/lib/public/Files/Storage.php
index c91d47bdcdf..f5b0775849d 100644
--- a/lib/public/Files/Storage.php
+++ b/lib/public/Files/Storage.php
@@ -88,7 +88,7 @@ interface Storage extends IStorage {
* see https://www.php.net/manual/en/function.opendir.php
*
* @param string $path
- * @return resource|bool
+ * @return resource|false
* @since 6.0.0
*/
public function opendir($path);
@@ -326,7 +326,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|bool
+ * @return string|false
* @since 6.0.0
*/
public function getLocalFile($path);
@@ -348,7 +348,7 @@ interface Storage extends IStorage {
* get the ETag for a file or folder
*
* @param string $path
- * @return string|bool
+ * @return string|false
* @since 6.0.0
*/
public function getETag($path);
diff --git a/lib/public/Files/Storage/IStorage.php b/lib/public/Files/Storage/IStorage.php
index 7b3b9eb484e..2f38165830b 100644
--- a/lib/public/Files/Storage/IStorage.php
+++ b/lib/public/Files/Storage/IStorage.php
@@ -85,7 +85,7 @@ interface IStorage {
* see https://www.php.net/manual/en/function.opendir.php
*
* @param string $path
- * @return resource|bool
+ * @return resource|false
* @since 9.0.0
*/
public function opendir($path);
@@ -314,7 +314,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|bool
+ * @return string|false
* @since 9.0.0
*/
public function getLocalFile($path);
@@ -336,7 +336,7 @@ interface IStorage {
* get the ETag for a file or folder
*
* @param string $path
- * @return string|bool
+ * @return string|false
* @since 9.0.0
*/
public function getETag($path);