summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit/Connector/Sabre/ExceptionLoggerPluginTest.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2023-01-20 08:38:43 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2023-01-20 08:38:43 +0100
commit898d2923cce4e61e21a26fed06ad402452c0b3b1 (patch)
treee9f3b91311c880074ff317a45700e080340fece0 /apps/dav/tests/unit/Connector/Sabre/ExceptionLoggerPluginTest.php
parent5e3a3c0c8faa45489aa6ac610728b4177501c198 (diff)
downloadnextcloud-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/Connector/Sabre/ExceptionLoggerPluginTest.php')
-rw-r--r--apps/dav/tests/unit/Connector/Sabre/ExceptionLoggerPluginTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/tests/unit/Connector/Sabre/ExceptionLoggerPluginTest.php b/apps/dav/tests/unit/Connector/Sabre/ExceptionLoggerPluginTest.php
index a553c0687e0..c198df16f08 100644
--- a/apps/dav/tests/unit/Connector/Sabre/ExceptionLoggerPluginTest.php
+++ b/apps/dav/tests/unit/Connector/Sabre/ExceptionLoggerPluginTest.php
@@ -50,7 +50,7 @@ class ExceptionLoggerPluginTest extends TestCase {
/** @var LoggerInterface | \PHPUnit\Framework\MockObject\MockObject */
private $logger;
- private function init() {
+ private function init(): void {
$config = $this->createMock(SystemConfig::class);
$config->expects($this->any())
->method('getValue')
@@ -72,7 +72,7 @@ class ExceptionLoggerPluginTest extends TestCase {
/**
* @dataProvider providesExceptions
*/
- public function testLogging(string $expectedLogLevel, \Throwable $e) {
+ public function testLogging(string $expectedLogLevel, \Throwable $e): void {
$this->init();
$this->logger->expects($this->once())