summaryrefslogtreecommitdiffstats
path: root/tests/lib/Hooks
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Hooks')
-rw-r--r--tests/lib/Hooks/BasicEmitterTest.php2
-rw-r--r--tests/lib/Hooks/LegacyEmitterTest.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Hooks/BasicEmitterTest.php b/tests/lib/Hooks/BasicEmitterTest.php
index 7b71bb8259e..948659faaba 100644
--- a/tests/lib/Hooks/BasicEmitterTest.php
+++ b/tests/lib/Hooks/BasicEmitterTest.php
@@ -37,7 +37,7 @@ class BasicEmitterTest extends \Test\TestCase {
*/
protected $emitter;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$this->emitter = new DummyEmitter();
}
diff --git a/tests/lib/Hooks/LegacyEmitterTest.php b/tests/lib/Hooks/LegacyEmitterTest.php
index 60a29f23245..32c923d8013 100644
--- a/tests/lib/Hooks/LegacyEmitterTest.php
+++ b/tests/lib/Hooks/LegacyEmitterTest.php
@@ -26,7 +26,7 @@ class LegacyEmitterTest extends BasicEmitterTest {
//we can't use exceptions here since OC_Hooks catches all exceptions
private static $emitted = false;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
$this->emitter = new DummyLegacyEmitter();