summaryrefslogtreecommitdiffstatshomepage
path: root/core/modules/update/update.install
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/update/update.install')
-rw-r--r--core/modules/update/update.install4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/update/update.install b/core/modules/update/update.install
index d7a95d60013..3fb6136ab70 100644
--- a/core/modules/update/update.install
+++ b/core/modules/update/update.install
@@ -73,7 +73,7 @@ function update_requirements($phase) {
/**
* Implements hook_install().
*/
-function update_install() {
+function update_install(): void {
$queue = \Drupal::queue('update_fetch_tasks', TRUE);
$queue->createQueue();
}
@@ -81,7 +81,7 @@ function update_install() {
/**
* Implements hook_uninstall().
*/
-function update_uninstall() {
+function update_uninstall(): void {
\Drupal::state()->delete('update.last_check');
\Drupal::state()->delete('update.last_email_notification');