Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore: Remove syntax incompatible with PHP 8.0
Signed-off-by: Côme Chilliet <[email protected]>
  • Loading branch information
come-nc authored and backportbot[bot] committed Dec 20, 2024
commit 4c10a793d95810761a87a94e240a38e3a9871b4b
7 changes: 5 additions & 2 deletions tests/lib/Share20/ManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,10 @@ private function createManagerMock() {
]);
}

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(
Expand Down Expand Up @@ -4772,7 +4775,7 @@ public function testCurrentUserCanEnumerateTargetUser(bool $currentUserIsGuest,
'limitEnumerationToPhone',
'limitEnumerationToGroups',
])
->getMock();
->getMock();

$manager->method('allowEnumerationFullMatch')
->willReturn($allowEnumerationFullMatch);
Expand Down
Loading