From dfa089c204920421d41590e40c6d34109e59fbbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anderson=20M=C3=BCller?= Date: Tue, 15 Oct 2024 18:22:45 +0200 Subject: [PATCH] Fix parameter name in `registerAttributeForAutoconfiguration` example --- service_container/tags.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service_container/tags.rst b/service_container/tags.rst index 9917cc65204..18f22a9ffa8 100644 --- a/service_container/tags.rst +++ b/service_container/tags.rst @@ -250,7 +250,7 @@ call to support ``ReflectionMethod``:: // update the union type to support multiple types of reflection // you can also use the "\Reflector" interface \ReflectionClass|\ReflectionMethod $reflector): void { - if ($reflection instanceof \ReflectionMethod) { + if ($reflector instanceof \ReflectionMethod) { // ... } }