mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-07 07:43:12 +08:00
Registered GeolocationDbUpdater service and added callable which is invoked when db is going to be updated
This commit is contained in:
@@ -10,5 +10,5 @@ interface GeolocationDbUpdaterInterface
|
||||
/**
|
||||
* @throws GeolocationDbUpdateFailedException
|
||||
*/
|
||||
public function checkDbUpdate(callable $handleProgress = null): void;
|
||||
public function checkDbUpdate(callable $mustBeUpdated = null, callable $handleProgress = null): void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user