summaryrefslogtreecommitdiffstats
path: root/tests/lib/Log/FileTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Log/FileTest.php')
-rw-r--r--tests/lib/Log/FileTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Log/FileTest.php b/tests/lib/Log/FileTest.php
index c2c3a4ff68b..0bbcdc0a23c 100644
--- a/tests/lib/Log/FileTest.php
+++ b/tests/lib/Log/FileTest.php
@@ -32,7 +32,7 @@ class FileTest extends TestCase
/** @var File */
protected $logFile;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$config = \OC::$server->getSystemConfig();
$this->restore_logfile = $config->getValue("logfile");
@@ -41,7 +41,7 @@ class FileTest extends TestCase
$config->setValue("logfile", $config->getValue('datadirectory') . "/logtest.log");
$this->logFile = new File($config->getValue('datadirectory') . '/logtest.log', '', $config);
}
- protected function tearDown() {
+ protected function tearDown(): void {
$config = \OC::$server->getSystemConfig();
if (isset($this->restore_logfile)) {
$config->getValue("logfile", $this->restore_logfile);