summaryrefslogtreecommitdiffstats
path: root/tests/lib/UrlGeneratorTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/UrlGeneratorTest.php')
-rw-r--r--tests/lib/UrlGeneratorTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/UrlGeneratorTest.php b/tests/lib/UrlGeneratorTest.php
index 9a8e588a229..0582a7120b8 100644
--- a/tests/lib/UrlGeneratorTest.php
+++ b/tests/lib/UrlGeneratorTest.php
@@ -28,7 +28,7 @@ class UrlGeneratorTest extends \Test\TestCase {
/** @var string */
private $originalWebRoot;
- public function setUp() {
+ public function setUp(): void {
parent::setUp();
$this->config = $this->createMock(IConfig::class);
$this->cacheFactory = $this->createMock(ICacheFactory::class);
@@ -41,7 +41,7 @@ class UrlGeneratorTest extends \Test\TestCase {
$this->originalWebRoot = \OC::$WEBROOT;
}
- public function tearDown() {
+ public function tearDown(): void {
// Reset webRoot
\OC::$WEBROOT = $this->originalWebRoot;
}