Skip to content

Commit

Permalink
fix(psalm): Fix @throws annotations
Browse files Browse the repository at this point in the history
Signed-off-by: provokateurin <kate@provokateurin.de>
  • Loading branch information
provokateurin committed Sep 17, 2024
1 parent b8a6d00 commit 5faa10b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Trash/TrashBackend.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down Expand Up @@ -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)) {
Expand Down

0 comments on commit 5faa10b

Please sign in to comment.