Skip to content

Commit 3b9116e

Browse files
committed
minor #20333 Fix parameter name in registerAttributeForAutoconfiguration example (andersonamuller)
This PR was merged into the 5.4 branch. Discussion ---------- Fix parameter name in `registerAttributeForAutoconfiguration` example Commits ------- dfa089c Fix parameter name in `registerAttributeForAutoconfiguration` example
2 parents 0fb2ba4 + dfa089c commit 3b9116e

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)