aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests/UnshareChildrenTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/tests/UnshareChildrenTest.php')
-rw-r--r--apps/files_sharing/tests/UnshareChildrenTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/tests/UnshareChildrenTest.php b/apps/files_sharing/tests/UnshareChildrenTest.php
index ce7767d1920..92ff48eb3be 100644
--- a/apps/files_sharing/tests/UnshareChildrenTest.php
+++ b/apps/files_sharing/tests/UnshareChildrenTest.php
@@ -42,7 +42,7 @@ class UnshareChildrenTest extends TestCase {
private static $tempStorage;
- protected function setUp() {
+ protected function setUp(): void {
parent::setUp();
\OCP\Util::connectHook('OC_Filesystem', 'post_delete', '\OCA\Files_Sharing\Hooks', 'unshareChildren');
@@ -61,7 +61,7 @@ class UnshareChildrenTest extends TestCase {
$this->view->file_put_contents($this->folder . $this->subfolder . $this->filename, $this->data);
}
- protected function tearDown() {
+ protected function tearDown(): void {
if ($this->view) {
$this->view->deleteAll($this->folder);
}