diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-12-19 15:50:23 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-12-19 15:50:23 +0100 |
commit | 56a5350806282b0a7d0aa76fa9f7fd16c11bf9a7 (patch) | |
tree | 02ff26763a7b16a1eb5b8139cac87e8a05c96274 | |
parent | 97800c555d96ad8936fe04341af8ee28e67c32c9 (diff) | |
download | nextcloud-server-56a5350806282b0a7d0aa76fa9f7fd16c11bf9a7.tar.gz nextcloud-server-56a5350806282b0a7d0aa76fa9f7fd16c11bf9a7.zip |
chore: Remove syntax incompatible with PHP 8.0backport/49629/stable29
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
-rw-r--r-- | tests/lib/Share20/ManagerTest.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/lib/Share20/ManagerTest.php b/tests/lib/Share20/ManagerTest.php index b46a7d768f5..edc072f4695 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( @@ -4784,7 +4787,7 @@ class ManagerTest extends \Test\TestCase { 'limitEnumerationToPhone', 'limitEnumerationToGroups', ]) - ->getMock(); + ->getMock(); $manager->method('allowEnumerationFullMatch') ->willReturn($allowEnumerationFullMatch); |