diff --git a/src/Console/UpdateCommand.php b/src/Console/UpdateCommand.php index 252cb0e..e4fdc4f 100644 --- a/src/Console/UpdateCommand.php +++ b/src/Console/UpdateCommand.php @@ -41,7 +41,7 @@ public function __construct(array $config) /** * Execute the console command. */ - public function fire() + public function handle() { $result = $this->geoIPUpdater->update(); @@ -53,4 +53,12 @@ public function fire() $this->info('New update file ('.$result.') installed.'); } + + /** + * Compatibility with old versions of Laravel. + */ + public function fire() + { + $this->handle(); + } }