Skip to content

Commit

Permalink
[Common] Add @throws to RepositoryInterface:findById
Browse files Browse the repository at this point in the history
  • Loading branch information
that-guy-iain committed Nov 16, 2024
1 parent b9fa55d commit 5fab16d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Parthenon/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 5fab16d

Please sign in to comment.