Skip to content

Commit c863afc

Browse files
committed
array<int, => list<
1 parent 2c09ef9 commit c863afc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Core/ServiceFactory/Command/CommandsFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
final class CommandsFactory
3030
{
3131
/**
32-
* @return array<int, Command>
32+
* @return list<Command>
3333
*/
3434
public function __invoke(ContainerInterface $container): array
3535
{

src/Pet/Model/Pet.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function getTag(): ?string
7474
}
7575

7676
/**
77-
* @param array<int, Vaccination> $vaccinations
77+
* @param list<Vaccination> $vaccinations
7878
*/
7979
public function setVaccinations(array $vaccinations): void
8080
{
@@ -90,7 +90,7 @@ public function setVaccinations(array $vaccinations): void
9090
}
9191

9292
/**
93-
* @return array<int, Vaccination>
93+
* @return list<Vaccination>
9494
*/
9595
public function getVaccinations(): array
9696
{

0 commit comments

Comments
 (0)