Skip to content

Commit d25d824

Browse files
committed
Merge branch '8.0' into 8.1
* 8.0: Add a merge-up skill for contributors [Contracts] Fix SubscribedService $type phpdoc to allow non-class strings
2 parents d714f77 + 3ffaeac commit d25d824

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Attribute/SubscribedService.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ final class SubscribedService
3131
public array $attributes;
3232

3333
/**
34-
* @param string|null $key The key to use for the service
35-
* @param class-string|null $type The service class
36-
* @param bool $nullable Whether the service is optional
37-
* @param object|object[] $attributes One or more dependency injection attributes to use
34+
* @param string|null $key The key to use for the service
35+
* @param string|null $type The service type (a class name, "string", "iterable", etc.)
36+
* @param bool $nullable Whether the service is optional
37+
* @param object|object[] $attributes One or more dependency injection attributes to use
3838
*/
3939
public function __construct(
4040
public ?string $key = null,

0 commit comments

Comments
 (0)