aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/lib/Share20/ManagerTest.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/lib/Share20/ManagerTest.php b/tests/lib/Share20/ManagerTest.php
index f18816eec6a..4f4cd221858 100644
--- a/tests/lib/Share20/ManagerTest.php
+++ b/tests/lib/Share20/ManagerTest.php
@@ -214,7 +214,10 @@ class ManagerTest extends \Test\TestCase {
]);
}
- private function createFolderMock(string $folderPath): MockObject&Folder {
+ /**
+ * @return MockObject&Folder
+ */
+ private function createFolderMock(string $folderPath) {
$folder = $this->createMock(Folder::class);
$folder->method('getPath')->willReturn($folderPath);
$folder->method('getRelativePath')->willReturnCallback(
@@ -4772,7 +4775,7 @@ class ManagerTest extends \Test\TestCase {
'limitEnumerationToPhone',
'limitEnumerationToGroups',
])
- ->getMock();
+ ->getMock();
$manager->method('allowEnumerationFullMatch')
->willReturn($allowEnumerationFullMatch);