Skip to content

Commit dfa089c

Browse files
Fix parameter name in registerAttributeForAutoconfiguration example
1 parent 0fb2ba4 commit dfa089c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service_container/tags.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ call to support ``ReflectionMethod``::
250250
// update the union type to support multiple types of reflection
251251
// you can also use the "\Reflector" interface
252252
\ReflectionClass|\ReflectionMethod $reflector): void {
253-
if ($reflection instanceof \ReflectionMethod) {
253+
if ($reflector instanceof \ReflectionMethod) {
254254
// ...
255255
}
256256
}

0 commit comments

Comments
 (0)