Skip to content

Commit

Permalink
Add WarmUp function return type
Browse files Browse the repository at this point in the history
  • Loading branch information
Zigr1 committed Nov 15, 2022
1 parent 76091cb commit c927fbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Cache/GeoIpCacheWarmer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit c927fbc

Please sign in to comment.