summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2023-04-28 10:59:34 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2023-04-28 12:23:52 +0200
commit20df0019f1af926b838ef548ec22a9c809537b70 (patch)
tree9228f807ef88168b2dd12978f5cd8e98f5918b52 /apps/dav/tests
parent74ced3d2eb3952799a968bc08c28abb51c1542d8 (diff)
downloadnextcloud-server-20df0019f1af926b838ef548ec22a9c809537b70.tar.gz
nextcloud-server-20df0019f1af926b838ef548ec22a9c809537b70.zip
fix(psalm): systemtags
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/dav/tests')
-rw-r--r--apps/dav/tests/unit/SystemTag/SystemTagPluginTest.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/dav/tests/unit/SystemTag/SystemTagPluginTest.php b/apps/dav/tests/unit/SystemTag/SystemTagPluginTest.php
index 199bf28fb7d..8341c6ca009 100644
--- a/apps/dav/tests/unit/SystemTag/SystemTagPluginTest.php
+++ b/apps/dav/tests/unit/SystemTag/SystemTagPluginTest.php
@@ -85,7 +85,10 @@ class SystemTagPluginTest extends \Test\TestCase {
*/
private $plugin;
- private ISystemTagObjectMapper $tagMapper;
+ /**
+ * @var ISystemTagObjectMapper
+ */
+ private $tagMapper;
protected function setUp(): void {
parent::setUp();
@@ -111,7 +114,8 @@ class SystemTagPluginTest extends \Test\TestCase {
->expects($this->any())
->method('isLoggedIn')
->willReturn(true);
- $this->tagMapper = $this->getMockBuilder(ISystemTagObjectMapper::class);
+ $this->tagMapper = $this->getMockBuilder(ISystemTagObjectMapper::class)
+ ->getMock();
$this->plugin = new \OCA\DAV\SystemTag\SystemTagPlugin(
$this->tagManager,