diff options
author | provokateurin <kate@provokateurin.de> | 2024-09-19 18:18:15 +0200 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2024-09-26 17:29:22 +0200 |
commit | 0356e9e82f8a16057dffd78a3436c5a2558533bc (patch) | |
tree | b1e04a4739c3147ecc91858b729e80826eb632c8 /apps/files_trashbin/tests | |
parent | 0451be763bbd1c85a393c75628e9f9c4b9c7dcd3 (diff) | |
download | nextcloud-server-0356e9e82f8a16057dffd78a3436c5a2558533bc.tar.gz nextcloud-server-0356e9e82f8a16057dffd78a3436c5a2558533bc.zip |
fix(files_trashbin): Fix all IStorage return types
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps/files_trashbin/tests')
-rw-r--r-- | apps/files_trashbin/tests/StorageTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_trashbin/tests/StorageTest.php b/apps/files_trashbin/tests/StorageTest.php index f0f3159b32a..9de4bf0cc13 100644 --- a/apps/files_trashbin/tests/StorageTest.php +++ b/apps/files_trashbin/tests/StorageTest.php @@ -29,11 +29,11 @@ use Psr\Log\LoggerInterface; use Test\Traits\MountProviderTrait; class TemporaryNoCross extends Temporary { - public function copyFromStorage(IStorage $sourceStorage, $sourceInternalPath, $targetInternalPath, $preserveMtime = null) { + public function copyFromStorage(IStorage $sourceStorage, $sourceInternalPath, $targetInternalPath, $preserveMtime = null): bool { return Common::copyFromStorage($sourceStorage, $sourceInternalPath, $targetInternalPath, $preserveMtime); } - public function moveFromStorage(IStorage $sourceStorage, $sourceInternalPath, $targetInternalPath) { + public function moveFromStorage(IStorage $sourceStorage, $sourceInternalPath, $targetInternalPath): bool { return Common::moveFromStorage($sourceStorage, $sourceInternalPath, $targetInternalPath); } } |