diff --git a/core/modules/search/lib/Drupal/search/Controller/SearchController.php b/core/modules/search/lib/Drupal/search/Controller/SearchController.php index b4f2a5b..fb9258c 100644 --- a/core/modules/search/lib/Drupal/search/Controller/SearchController.php +++ b/core/modules/search/lib/Drupal/search/Controller/SearchController.php @@ -45,15 +45,17 @@ public static function create(ContainerInterface $container) { } /** - * @param Symfony\Component\HttpFoundation\Request $request + * Renders search page. + * + * @param \Symfony\Component\HttpFoundation\Request $request * The request object. * @param string $plugin_id * The id of a plugin, i.e. the data type. * @param string $keys * search keywords. * - * @return array - * The search form and search results. + * @return array|\Symfony\Component\HttpFoundation\RedirectResponse + * The search form and search results or redirect response. * */ public function view(Request $request, $plugin_id = NULL, $keys = NULL) { diff --git a/core/modules/search/lib/Drupal/search/Form/SearchForm.php b/core/modules/search/lib/Drupal/search/Form/SearchForm.php index 4e2ad46..2c8d0ae 100644 --- a/core/modules/search/lib/Drupal/search/Form/SearchForm.php +++ b/core/modules/search/lib/Drupal/search/Form/SearchForm.php @@ -1,8 +1,10 @@