diff --git a/core/modules/search/lib/Drupal/search/Controller/SearchController.php b/core/modules/search/lib/Drupal/search/Controller/SearchController.php index fb9258c..4e01a3c 100644 --- a/core/modules/search/lib/Drupal/search/Controller/SearchController.php +++ b/core/modules/search/lib/Drupal/search/Controller/SearchController.php @@ -45,18 +45,17 @@ public static function create(ContainerInterface $container) { } /** - * Renders search page. + * Creates a render array for the 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. + * The ID of a search plugin. * @param string $keys - * search keywords. + * Search keywords. * * @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) { $info = FALSE; diff --git a/core/modules/search/lib/Drupal/search/Form/SearchForm.php b/core/modules/search/lib/Drupal/search/Form/SearchForm.php index 2c8d0ae..4101502 100644 --- a/core/modules/search/lib/Drupal/search/Form/SearchForm.php +++ b/core/modules/search/lib/Drupal/search/Form/SearchForm.php @@ -13,7 +13,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface; /** - * Provides the search form for site wide search. + * Provides a search form for site wide search. */ class SearchForm extends FormBase { @@ -36,9 +36,8 @@ public static function create(ContainerInterface $container) { /** * Constructs a search form. * - * @param \Drupal\search\SearchPluginManager + * @param \Drupal\search\SearchPluginManager $search_plugin * The search plugin manager. - * */ public function __construct(SearchPluginManager $search_plugin) { $this->searchManager = $search_plugin;