diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2023-01-20 08:38:43 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2023-01-20 08:38:43 +0100 |
commit | 898d2923cce4e61e21a26fed06ad402452c0b3b1 (patch) | |
tree | e9f3b91311c880074ff317a45700e080340fece0 /apps/dav/tests/unit/CardDAV/ContactsManagerTest.php | |
parent | 5e3a3c0c8faa45489aa6ac610728b4177501c198 (diff) | |
download | nextcloud-server-898d2923cce4e61e21a26fed06ad402452c0b3b1.tar.gz nextcloud-server-898d2923cce4e61e21a26fed06ad402452c0b3b1.zip |
chore(dav): Add void return type to test methods
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/dav/tests/unit/CardDAV/ContactsManagerTest.php')
-rw-r--r-- | apps/dav/tests/unit/CardDAV/ContactsManagerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/tests/unit/CardDAV/ContactsManagerTest.php b/apps/dav/tests/unit/CardDAV/ContactsManagerTest.php index e9153c4d197..32a0946d2b9 100644 --- a/apps/dav/tests/unit/CardDAV/ContactsManagerTest.php +++ b/apps/dav/tests/unit/CardDAV/ContactsManagerTest.php @@ -33,7 +33,7 @@ use OCP\IURLGenerator; use Test\TestCase; class ContactsManagerTest extends TestCase { - public function test() { + public function test(): void { /** @var IManager | \PHPUnit\Framework\MockObject\MockObject $cm */ $cm = $this->getMockBuilder(IManager::class)->disableOriginalConstructor()->getMock(); $cm->expects($this->exactly(2))->method('registerAddressBook'); |