From c927fbc0b9c88a35e43ee06610ec44320c0c8915 Mon Sep 17 00:00:00 2001 From: Greg Ziborov Date: Tue, 15 Nov 2022 16:50:40 +1030 Subject: [PATCH] Add WarmUp function return type --- src/Cache/GeoIpCacheWarmer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Cache/GeoIpCacheWarmer.php b/src/Cache/GeoIpCacheWarmer.php index 438ae56..7d67b38 100644 --- a/src/Cache/GeoIpCacheWarmer.php +++ b/src/Cache/GeoIpCacheWarmer.php @@ -78,9 +78,9 @@ public function isOptional() /** * Warms up the cache. * - * @param string $cacheDir The cache directory + * {@inheritdoc} */ - public function warmUp($cacheDir) + public function warmUp($cacheDir): void { //avoid downloading if db is up to date if ($this->isGeoDatabaseUpToDate()) {