diff --git a/src/Domain/Contracts/Bus/QueryBus.php b/src/Domain/Contracts/Bus/QueryBus.php index e22c770..b69b32b 100644 --- a/src/Domain/Contracts/Bus/QueryBus.php +++ b/src/Domain/Contracts/Bus/QueryBus.php @@ -5,6 +5,7 @@ namespace OtherCode\ComplexHeart\Domain\Contracts\Bus; use OtherCode\ComplexHeart\Domain\Bus\Query; +use OtherCode\ComplexHeart\Domain\Bus\Response; /** * Interface QueryBus @@ -21,5 +22,5 @@ interface QueryBus * * @return mixed */ - public function ask(Query $query); + public function ask(Query $query): Response; }