Skip to content

Commit

Permalink
[Common] Add @throws to RepositoryInterface:findById
Browse files Browse the repository at this point in the history
Automatic commit for getparthenon/monorepo@5fab16d
  • Loading branch information
that-guy-iain committed Nov 16, 2024
1 parent 12f3cc9 commit acf05ae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Common/Repository/RepositoryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,13 @@

namespace Parthenon\Common\Repository;

use Parthenon\Common\Exception\NoEntityFoundException;

interface RepositoryInterface
{
/**
* @throws NoEntityFoundException
*/
public function findById($id);

public function save($entity);
Expand Down

0 comments on commit acf05ae

Please sign in to comment.