From 878e4840a20756461d176a3e8a5d5689163892bb Mon Sep 17 00:00:00 2001 From: Yisroel Baum Date: Sun, 12 Apr 2026 21:54:31 +0300 Subject: [PATCH] add getAll method to text repo --- app/Text/TextRepository.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/Text/TextRepository.php b/app/Text/TextRepository.php index a280407..d899bcf 100644 --- a/app/Text/TextRepository.php +++ b/app/Text/TextRepository.php @@ -10,4 +10,9 @@ interface TextRepository public function create(CreateTextDto $dto): Text; public function find(int $id): ?Text; + + /** + * @return Text[] + */ + public function getAll(): array; }