Skip to content

Commit d81586b

Browse files
Improve type of factories in ServiceLocatorTrait
1 parent 70093e7 commit d81586b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ServiceLocatorTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ trait ServiceLocatorTrait
3131
private array $providedTypes;
3232

3333
/**
34-
* @param callable[] $factories
34+
* @param array<string, callable> $factories
3535
*/
3636
public function __construct(array $factories)
3737
{

0 commit comments

Comments
 (0)