aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Files
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-03-28 10:34:01 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-04-03 10:52:35 +0200
commit0b3dad895fcd87dadb3861bb3842ea8b67b28448 (patch)
tree9a26e3be7fd97d3c9506cd1a4d81769324305201 /lib/public/Files
parentea05544213b6d472338684e9c7bae66f68453c58 (diff)
downloadnextcloud-server-0b3dad895fcd87dadb3861bb3842ea8b67b28448.tar.gz
nextcloud-server-0b3dad895fcd87dadb3861bb3842ea8b67b28448.zip
More type cleanup in View and FileInfo
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/public/Files')
-rw-r--r--lib/public/Files/FileInfo.php2
-rw-r--r--lib/public/Files/Storage.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/Files/FileInfo.php b/lib/public/Files/FileInfo.php
index 0e521cea65c..83ae4adef92 100644
--- a/lib/public/Files/FileInfo.php
+++ b/lib/public/Files/FileInfo.php
@@ -250,7 +250,7 @@ interface FileInfo {
/**
* Get the owner of the file
*
- * @return \OCP\IUser
+ * @return ?\OCP\IUser
* @since 9.0.0
*/
public function getOwner();
diff --git a/lib/public/Files/Storage.php b/lib/public/Files/Storage.php
index f5b0775849d..c165266a1b7 100644
--- a/lib/public/Files/Storage.php
+++ b/lib/public/Files/Storage.php
@@ -254,7 +254,7 @@ interface Storage extends IStorage {
/**
* see https://www.php.net/manual/en/function.copy.php
*
- * @param string $soruce
+ * @param string $source
* @param string $target
* @return bool
* @since 6.0.0