aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Files
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2023-10-20 09:08:08 +0200
committerThomas Citharel <tcit@tcit.fr>2024-02-02 14:59:21 +0100
commit30798eb6c238a0090fd42d2b44644f4fc24d8c8d (patch)
treeffdc39e7740cb77b057430469a38001afa7dcdeb /tests/lib/Files
parent3be3dbdb3b4d707332a1c7edc1db378bc8e90375 (diff)
downloadnextcloud-server-30798eb6c238a0090fd42d2b44644f4fc24d8c8d.tar.gz
nextcloud-server-30798eb6c238a0090fd42d2b44644f4fc24d8c8d.zip
refactor(objectstorage): cleanup types
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'tests/lib/Files')
-rw-r--r--tests/lib/Files/ObjectStore/ObjectStoreStorageOverwrite.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Files/ObjectStore/ObjectStoreStorageOverwrite.php b/tests/lib/Files/ObjectStore/ObjectStoreStorageOverwrite.php
index b85f6289c94..9c398131535 100644
--- a/tests/lib/Files/ObjectStore/ObjectStoreStorageOverwrite.php
+++ b/tests/lib/Files/ObjectStore/ObjectStoreStorageOverwrite.php
@@ -30,7 +30,7 @@ use OCP\Files\ObjectStore\IObjectStore;
* Allow overwriting the object store instance for test purposes
*/
class ObjectStoreStorageOverwrite extends ObjectStoreStorage {
- public function setObjectStore(IObjectStore $objectStore) {
+ public function setObjectStore(IObjectStore $objectStore): void {
$this->objectStore = $objectStore;
}
@@ -38,7 +38,7 @@ class ObjectStoreStorageOverwrite extends ObjectStoreStorage {
return $this->objectStore;
}
- public function setValidateWrites(bool $validate) {
+ public function setValidateWrites(bool $validate): void {
$this->validateWrites = $validate;
}
}