From 5faa10bc4363bed17ad88ed8e7a85a389ed0fcd3 Mon Sep 17 00:00:00 2001 From: provokateurin Date: Tue, 17 Sep 2024 17:14:54 +0200 Subject: [PATCH] fix(psalm): Fix @throws annotations Signed-off-by: provokateurin --- lib/Trash/TrashBackend.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Trash/TrashBackend.php b/lib/Trash/TrashBackend.php index 961ca6046..3a4053f60 100644 --- a/lib/Trash/TrashBackend.php +++ b/lib/Trash/TrashBackend.php @@ -90,7 +90,7 @@ public function listTrashFolder(ITrashItem $folder): array { /** * @return void - * @throw NotPermittedException + * @throws NotPermittedException */ public function restoreItem(ITrashItem $item) { if (!($item instanceof GroupTrashItem)) { @@ -164,8 +164,8 @@ public function restoreItem(ITrashItem $item) { /** * @return void - * @throw \LogicException - * @throw \Exception + * @throws \LogicException + * @throws \Exception */ public function removeItem(ITrashItem $item) { if (!($item instanceof GroupTrashItem)) {