diff --git a/core/lib/Drupal/Core/DependencyInjection/Compiler/TaggedHandlersPass.php b/core/lib/Drupal/Core/DependencyInjection/Compiler/TaggedHandlersPass.php
index e00193eacc64bf2d6dd3747a53f7b494049ab9a4..8a79378919ee7a441ffe3e777ac96d07dda08672 100644
--- a/core/lib/Drupal/Core/DependencyInjection/Compiler/TaggedHandlersPass.php
+++ b/core/lib/Drupal/Core/DependencyInjection/Compiler/TaggedHandlersPass.php
@@ -65,11 +65,18 @@ class TaggedHandlersPass implements CompilerPassInterface {
    *
    * Additional tag attributes supported by 'service_collector' only:
    *   - call: The method name to call on the consumer service. Defaults to
-   *     'addHandler'. The called method receives two arguments:
-   *     - The handler instance as first argument.
-   *     - Optionally the handler's priority as second argument, if the method
-   *       accepts a second parameter and its name is "priority". In any case,
-   *       all handlers registered at compile time are sorted already.
+   *     'addHandler'. The called method receives at least one argument,
+   *     optionally more:
+   *     - The handler instance must be the first method parameter, and it must
+   *       have a type declaration.
+   *     - If the method has a parameter named $id, in any position, it will
+   *       receive the value of service ID when called.
+   *     - If the method has a parameter named $priority, in any position, it
+   *       will receive the value of the tag's 'priority' attribute.
+   *     - Any other method parameters whose names match the name of an
+   *       attribute of the tag will receive the value of that tag attribute.The
+   *       order of the method parameters and the order of the service tag
+   *       attributes do not need to match.
    *
    * Example (YAML):
    * @code