Skip to content

Commit 70093e7

Browse files
andersonamullernicolas-grekas
authored andcommitted
Improve return type of getProvidedServices in ServiceProviderInterface
1 parent 40da9cc commit 70093e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ServiceProviderInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function has(string $id): bool;
3939
* * ['foo' => '?'] means the container provides service name "foo" of unspecified type
4040
* * ['bar' => '?Bar\Baz'] means the container provides a service "bar" of type Bar\Baz|null
4141
*
42-
* @return string[] The provided service types, keyed by service names
42+
* @return array<string, string> The provided service types, keyed by service names
4343
*/
4444
public function getProvidedServices(): array;
4545
}

0 commit comments

Comments
 (0)