diff --git a/core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php b/core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php index aab6e46..9279b0d 100644 --- a/core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php +++ b/core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php @@ -7,8 +7,8 @@ namespace Drupal\ajax_test\Controller; -use Drupal\Core\Ajax\AlertCommand; use Drupal\Core\Ajax\AjaxResponse; +use Drupal\Core\Ajax\AlertCommand; use Drupal\Core\Ajax\CloseDialogCommand; use Drupal\Core\Ajax\HtmlCommand; use Drupal\Core\Url; @@ -85,6 +85,9 @@ public function order() { /** * Menu callback: Returns AJAX element with #error property set. * + * @param \Symfony\Component\HttpFoundation\Request $request + * The current request object. + * * @return \Drupal\Core\Ajax\AjaxResponse * The JSON response object. */