The documentation comment for HtmlFormController::__construct() is the following one.
/**
* Constructs a new \Drupal\Core\Routing\Enhancer\FormEnhancer object.
*
* @param \Symfony\Component\HttpKernel\Controller\ArgumentResolverInterface $argument_resolver
* The argument resolver.
* @param \Drupal\Core\Form\FormBuilderInterface $form_builder
* The form builder.
* @param \Drupal\Core\DependencyInjection\ClassResolverInterface $class_resolver
* The class resolver.
*/
The class isn't \Drupal\Core\Routing\Enhancer\FormEnhancer, but \Drupal\Core\Controller\HtmlFormController and that comment needs to be fixed.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | updated-comment-3295487-3.patch | 673 bytes | anjali rathod |
Comments
Comment #2
avpadernoI linked to the documentation page for Drupal 9.4.x, but the same documentation comment is used in Drupal 9.5.x (and Drupal 10.x).
Comment #3
anjali rathodComment #4
anjali rathodComment #5
avpadernoThe patch is good to go.
Comment #6
catchCommitted/pushed to 10.1.x, cherry-picked back to 9.4.x, thanks!