diff --git a/modules/device_geolocation/device_geolocation.install b/modules/device_geolocation/device_geolocation.install
index 0528f85bc29c41bbbdf3dd1ed1d17156736f3543..9b01368a09a970c9ed3f50da969f75c22e00cfcc 100644
--- a/modules/device_geolocation/device_geolocation.install
+++ b/modules/device_geolocation/device_geolocation.install
@@ -8,6 +8,6 @@
 /**
  * Update block visibility context mapping.
  */
-function device_geolocation_update_8001() {
+function device_geolocation_update_8001(): void {
   drupal_flush_all_caches();
-}
\ No newline at end of file
+}