summaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Storage/Wrapper/Jail.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-02-06 22:05:34 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-02-07 11:23:35 +0100
commit308fcf452693e9b2d6902864c30bcd19afbbbb5f (patch)
tree131aca5be0684d8bca821b7c6d00303a8238f0b4 /lib/private/Files/Storage/Wrapper/Jail.php
parent09a97ad39ce487bb7ee5cf9a79b24ca4b4f7bdaa (diff)
downloadnextcloud-server-308fcf452693e9b2d6902864c30bcd19afbbbb5f.tar.gz
nextcloud-server-308fcf452693e9b2d6902864c30bcd19afbbbb5f.zip
Respect OCP interface in private classes
Because the parameter type was moved to phpdoc it needs to be removed from implementations Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/Files/Storage/Wrapper/Jail.php')
-rw-r--r--lib/private/Files/Storage/Wrapper/Jail.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Storage/Wrapper/Jail.php b/lib/private/Files/Storage/Wrapper/Jail.php
index 0f4101aad66..4501c96d631 100644
--- a/lib/private/Files/Storage/Wrapper/Jail.php
+++ b/lib/private/Files/Storage/Wrapper/Jail.php
@@ -159,7 +159,7 @@ class Jail extends Wrapper {
* see https://www.php.net/manual/en/function.filesize.php
* The result for filesize when called on a folder is required to be 0
*/
- public function filesize(string $path): false|int|float {
+ public function filesize($path): false|int|float {
return $this->getWrapperStorage()->filesize($this->getUnjailedPath($path));
}