diff --git a/core/modules/automated_cron/automated_cron.module b/core/modules/automated_cron/automated_cron.module index c1cc7a6..345e301 100644 --- a/core/modules/automated_cron/automated_cron.module +++ b/core/modules/automated_cron/automated_cron.module @@ -29,7 +29,7 @@ function automated_cron_help($route_name, RouteMatchInterface $route_match) { } /** - * Implements hook_form_FORM_ID_alter() for the system_cron_settings(). + * Implements hook_form_FORM_ID_alter(). */ function automated_cron_form_system_cron_settings_alter(&$form, &$form_state) { $automated_cron_settings = \Drupal::config('automated_cron.settings'); diff --git a/core/modules/config/tests/config_install_dependency_test/config_install_dependency_test.module b/core/modules/config/tests/config_install_dependency_test/config_install_dependency_test.module index 08a1697..111cd14 100644 --- a/core/modules/config/tests/config_install_dependency_test/config_install_dependency_test.module +++ b/core/modules/config/tests/config_install_dependency_test/config_install_dependency_test.module @@ -6,7 +6,7 @@ */ /** - * Implements hook_ENTITY_TYPE_create. + * Implements hook_ENTITY_TYPE_create(). */ function config_install_dependency_test_config_test_create(\Drupal\Core\Entity\EntityInterface $entity) { // Add an enforced dependency on this module so that we can test if this is diff --git a/core/modules/filter/filter.module b/core/modules/filter/filter.module index f1f28b5..c6e6fe9 100644 --- a/core/modules/filter/filter.module +++ b/core/modules/filter/filter.module @@ -806,9 +806,6 @@ function _filter_html_image_secure_process($text) { * * Formats an image DOM element that has an invalid source. * - * @param DOMElement $image - * An IMG node to format, parsed from the filtered text. - * * @see _filter_html_image_secure_process() */ function filter_filter_secure_image_alter(&$image) { diff --git a/core/modules/image/image.install b/core/modules/image/image.install index 86efd91..8f1d1c0 100644 --- a/core/modules/image/image.install +++ b/core/modules/image/image.install @@ -24,8 +24,6 @@ function image_uninstall() { /** * Implements hook_requirements(). - * - * @param $phase */ function image_requirements($phase) { if ($phase != 'runtime') { diff --git a/core/modules/menu_ui/menu_ui.module b/core/modules/menu_ui/menu_ui.module index 58b38fc..73227b1 100644 --- a/core/modules/menu_ui/menu_ui.module +++ b/core/modules/menu_ui/menu_ui.module @@ -72,7 +72,7 @@ function menu_ui_entity_type_build(array &$entity_types) { } /** - * Implements hook_ENTITY_TYPE_insert( for menu entities. + * Implements hook_ENTITY_TYPE_insert(). */ function menu_ui_menu_insert(Menu $menu) { menu_cache_clear_all(); diff --git a/core/modules/update/update.install b/core/modules/update/update.install index b2223f1..52419a1 100644 --- a/core/modules/update/update.install +++ b/core/modules/update/update.install @@ -10,20 +10,6 @@ /** * Implements hook_requirements(). * - * @return - * An array describing the status of the site regarding available updates. If - * there is no update data, only one record will be returned, indicating that - * the status of core can't be determined. If data is available, there will be - * two records: one for core, and another for all of contrib (assuming there - * are any contributed modules or themes enabled on the site). In addition to - * the fields expected by hook_requirements ('value', 'severity', and - * optionally 'description'), this array will contain a 'reason' attribute, - * which is an integer constant to indicate why the given status is being - * returned (UPDATE_NOT_SECURE, UPDATE_NOT_CURRENT, or UPDATE_UNKNOWN). This - * is used for generating the appropriate email notification messages during - * update_cron(), and might be useful for other modules that invoke - * update_requirements() to find out if the site is up to date or not. - * * @see _update_message_text() * @see _update_cron_notify() */ diff --git a/core/modules/update/update.module b/core/modules/update/update.module index 98f7569..716783d 100644 --- a/core/modules/update/update.module +++ b/core/modules/update/update.module @@ -428,16 +428,6 @@ function update_fetch_data_finished($success, $results) { * * Constructs the email notification message when the site is out of date. * - * @param $key - * Unique key to indicate what message to build, always 'status_notify'. - * @param $message - * Reference to the message array being built. - * @param $params - * Array of parameters to indicate what kind of text to include in the message - * body. This is a keyed array of message type ('core' or 'contrib') as the - * keys, and the status reason constant (UPDATE_NOT_SECURE, etc) for the - * values. - * * @see \Drupal\Core\Mail\MailManagerInterface::mail() * @see _update_cron_notify() * @see _update_message_text()