Skip to content

Commit 7ccdd8e

Browse files
committed
array<int, => list<
1 parent 58f972e commit 7ccdd8e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
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/Core/ServiceFactory/Framework/MiddlewaresFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
final class MiddlewaresFactory
1515
{
1616
/**
17-
* @return array<int, MiddlewareInterface>
17+
* @return list<MiddlewareInterface>
1818
*/
1919
public function __invoke(ContainerInterface $container): array
2020
{

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)