Skip to content

Commit

Permalink
Clean up deletion functions
Browse files Browse the repository at this point in the history
  • Loading branch information
asmecher committed Jul 8, 2024
1 parent 7f7da46 commit 76bc0dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/submission/DAO.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ class DAO extends \PKP\submission\DAO
/**
* @copydoc \PKP\core\EntityDAO::deleteById()
*/
public function deleteById(int $id)
public function deleteById(int $id): int
{
event(new SubmissionDeleted($id));
parent::deleteById($id);
return parent::deleteById($id);
}

/**
Expand Down

0 comments on commit 76bc0dc

Please sign in to comment.