Skip to content

Commit

Permalink
Compatibility with Laravel 5.5. (#27)
Browse files Browse the repository at this point in the history
* Update UpdateCommand.php

Compatibility with Laravel 5.5.

* Update UpdateCommand.php

remove spaces.
  • Loading branch information
eriklotin authored and pulkitjalan committed Dec 1, 2017
1 parent d9288e9 commit 39fcea4
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/Console/UpdateCommand.php
Expand Up @@ -41,7 +41,7 @@ public function __construct(array $config)
/**
* Execute the console command.
*/
public function fire()
public function handle()
{
$result = $this->geoIPUpdater->update();

Expand All @@ -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();
}
}

0 comments on commit 39fcea4

Please sign in to comment.