diff --git a/src/ObjectRepository.php b/src/ObjectRepository.php index e3a4dc31..fce86e96 100644 --- a/src/ObjectRepository.php +++ b/src/ObjectRepository.php @@ -27,7 +27,7 @@ public function find(mixed $id): object|null; * Finds all objects in the repository. * * @return array The objects. - * @phpstan-return T[] + * @phpstan-return list */ public function findAll(): array; @@ -43,7 +43,7 @@ public function findAll(): array; * @phpstan-param array|null $orderBy * * @return array The objects. - * @phpstan-return T[] + * @phpstan-return list * * @throws UnexpectedValueException */