diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-11-14 17:06:28 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-11-14 17:08:21 +0100 |
commit | c79a6b3f62948075f7ce67a0294b0410fd61af3d (patch) | |
tree | d67ee83d8c0fd892ce722b40b3f859d76ff20ebe /tests/lib/Share20 | |
parent | 70e2217d1c23dbe7062c188091c0d9f10a5bd84b (diff) | |
download | nextcloud-server-c79a6b3f62948075f7ce67a0294b0410fd61af3d.tar.gz nextcloud-server-c79a6b3f62948075f7ce67a0294b0410fd61af3d.zip |
Fix errors from PHP 8.2 testing
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'tests/lib/Share20')
-rw-r--r-- | tests/lib/Share20/ShareTest.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/lib/Share20/ShareTest.php b/tests/lib/Share20/ShareTest.php index 7d4dc6de2d6..b2419e07683 100644 --- a/tests/lib/Share20/ShareTest.php +++ b/tests/lib/Share20/ShareTest.php @@ -23,6 +23,7 @@ namespace Test\Share20; use OCP\Files\IRootFolder; use OCP\IUserManager; +use PHPUnit\Framework\MockObject\MockObject; /** * Class ShareTest @@ -30,9 +31,10 @@ use OCP\IUserManager; * @package Test\Share20 */ class ShareTest extends \Test\TestCase { - - /** @var IRootFolder|\PHPUnit\Framework\MockObject\MockObject */ + /** @var IRootFolder|MockObject */ protected $rootFolder; + /** @var IUserManager|MockObject */ + protected $userManager; /** @var \OCP\Share\IShare */ protected $share; |