diff --git a/tests/lib/DirectEditing/ManagerTest.php b/tests/lib/DirectEditing/ManagerTest.php
index 9a56c3307e0bce0985a1b401b35d689b9736230b..52a18584d6e3c9402b51961515b4fc656faf0eb9 100644
--- a/tests/lib/DirectEditing/ManagerTest.php
+++ b/tests/lib/DirectEditing/ManagerTest.php
@@ -106,7 +106,7 @@ class ManagerTest extends TestCase {
 	 */
 	private $userFolder;
 
-	protected function setUp() {
+	protected function setUp(): void {
 		parent::setUp();
 
 		$this->editor = new Editor();