Skip to content

Commit 381ca9f

Browse files
committed
Add more precise types in reusable test cases
1 parent 6cd7c22 commit 381ca9f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Service/Test/ServiceLocatorTestCase.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919

2020
abstract class ServiceLocatorTestCase extends TestCase
2121
{
22+
/**
23+
* @param array<string, callable> $factories
24+
*/
2225
protected function getServiceLocator(array $factories): ContainerInterface
2326
{
2427
return new class($factories) implements ContainerInterface {

0 commit comments

Comments
 (0)