Skip to content

Commit 741e728

Browse files
[DependencyInjection] improve phpdoc for registerAttributeForAutoconfiguration()
1 parent 53541e2 commit 741e728

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ContainerBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1324,7 +1324,7 @@ public function registerForAutoconfiguration(string $interface)
13241324
/**
13251325
* Registers an attribute that will be used for autoconfiguring annotated classes.
13261326
*
1327-
* The configurator will receive a Definition instance and an instance of the attribute, in that order.
1327+
* The configurator will receive a ChildDefinition instance, an instance of the attribute and the corresponding \ReflectionClass, in that order.
13281328
*/
13291329
public function registerAttributeForAutoconfiguration(string $attributeClass, callable $configurator): void
13301330
{

0 commit comments

Comments
 (0)