Skip to content

Commit 0996bd0

Browse files
committed
array<int, => list<
1 parent 2ed0b6f commit 0996bd0

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
@@ -22,7 +22,7 @@
2222
final class CommandsFactory
2323
{
2424
/**
25-
* @return array<int, Command>
25+
* @return list<Command>
2626
*/
2727
public function __invoke(ContainerInterface $container): array
2828
{

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
{
@@ -85,7 +85,7 @@ public function setVaccinations(array $vaccinations): void
8585
}
8686

8787
/**
88-
* @return array<int, Vaccination>
88+
* @return list<Vaccination>
8989
*/
9090
public function getVaccinations(): array
9191
{

0 commit comments

Comments
 (0)