aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Storage/Wrapper/Encoding.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-03-13 18:59:16 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-04-03 10:52:34 +0200
commitea05544213b6d472338684e9c7bae66f68453c58 (patch)
tree809724b54187a4d21fbe967b38b10fc4cb4ca38a /lib/private/Files/Storage/Wrapper/Encoding.php
parentf974281ac9a086004c7e971f3585ed8aa21d194d (diff)
downloadnextcloud-server-ea05544213b6d472338684e9c7bae66f68453c58.tar.gz
nextcloud-server-ea05544213b6d472338684e9c7bae66f68453c58.zip
Fix return type of methods returning false on error
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/Files/Storage/Wrapper/Encoding.php')
-rw-r--r--lib/private/Files/Storage/Wrapper/Encoding.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/Files/Storage/Wrapper/Encoding.php b/lib/private/Files/Storage/Wrapper/Encoding.php
index d6006f746ad..dd699993e84 100644
--- a/lib/private/Files/Storage/Wrapper/Encoding.php
+++ b/lib/private/Files/Storage/Wrapper/Encoding.php
@@ -159,7 +159,7 @@ class Encoding extends Wrapper {
* see https://www.php.net/manual/en/function.opendir.php
*
* @param string $path
- * @return resource|bool
+ * @return resource|false
*/
public function opendir($path) {
$handle = $this->storage->opendir($this->findPathToUse($path));
@@ -429,7 +429,7 @@ class Encoding extends Wrapper {
* 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
*/
public function getLocalFile($path) {
return $this->storage->getLocalFile($this->findPathToUse($path));
@@ -481,7 +481,7 @@ class Encoding extends Wrapper {
* get the ETag for a file or folder
*
* @param string $path
- * @return string|bool
+ * @return string|false
*/
public function getETag($path) {
return $this->storage->getETag($this->findPathToUse($path));