test get bid and throws error on invalid id

This commit is contained in:
Yisroel Baum 2025-11-19 21:29:36 +02:00
parent b17f6005b7
commit bc6e3e47fe
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
4 changed files with 59 additions and 0 deletions

View file

@ -5,4 +5,5 @@ namespace FreightQuote\Bid;
interface BidRepository
{
public function save(Bid $bid): Bid;
public function find(string $id): ?Bid;
}