aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-03-13 18:33:12 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-04-03 10:52:33 +0200
commit966a3e696335d9dad2cc8dfa2ec44d44298626ff (patch)
tree491f4b36f976560431ac336c06f8d613ca401ca7 /apps/dav
parent8e529df6ae5dfb5df987919d11a49828e19f6dbc (diff)
downloadnextcloud-server-966a3e696335d9dad2cc8dfa2ec44d44298626ff.tar.gz
nextcloud-server-966a3e696335d9dad2cc8dfa2ec44d44298626ff.zip
Tidy up typing in OC\Files\View
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/tests/unit/Connector/Sabre/DirectoryTest.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/dav/tests/unit/Connector/Sabre/DirectoryTest.php b/apps/dav/tests/unit/Connector/Sabre/DirectoryTest.php
index a74cb139966..c6365cf3168 100644
--- a/apps/dav/tests/unit/Connector/Sabre/DirectoryTest.php
+++ b/apps/dav/tests/unit/Connector/Sabre/DirectoryTest.php
@@ -63,7 +63,7 @@ class TestViewDirectory extends \OC\Files\View {
return $this->canRename;
}
- public function getRelativePath($path) {
+ public function getRelativePath($path): ?string {
return $path;
}
}
@@ -73,7 +73,6 @@ class TestViewDirectory extends \OC\Files\View {
* @group DB
*/
class DirectoryTest extends \Test\TestCase {
-
use UserTrait;
/** @var \OC\Files\View | \PHPUnit\Framework\MockObject\MockObject */