diff --git a/core/lib/Drupal/Core/Ajax/AjaxResponse.php b/core/lib/Drupal/Core/Ajax/AjaxResponse.php index e5f327e..6619a56 100644 --- a/core/lib/Drupal/Core/Ajax/AjaxResponse.php +++ b/core/lib/Drupal/Core/Ajax/AjaxResponse.php @@ -57,7 +57,7 @@ public function prepare(Request $request) { } /** - * Sets the rendered ajax right before the response is prepared + * Sets the rendered AJAX right before the response is prepared. * * @param \Symfony\Component\HttpFoundation\Request $request * The request object. diff --git a/core/lib/Drupal/Core/EventSubscriber/AjaxResponseSubscriber.php b/core/lib/Drupal/Core/EventSubscriber/AjaxResponseSubscriber.php index 967f79e..cf4dca1 100644 --- a/core/lib/Drupal/Core/EventSubscriber/AjaxResponseSubscriber.php +++ b/core/lib/Drupal/Core/EventSubscriber/AjaxResponseSubscriber.php @@ -18,7 +18,8 @@ class AjaxResponseSubscriber implements EventSubscriberInterface { /** * Renders the ajax commands right before preparing the result. * - * @ + * @param \Symfony\Component\HttpKernel\Event\FilterResponseEvent $event + * The response event, which contains the possible AjaxResponse object. */ public function onResponse(FilterResponseEvent $event) { $response = $event->getResponse();