Skip to content

Commit 39fcea4

Browse files
eriklotinpulkitjalan
authored andcommitted
Compatibility with Laravel 5.5. (#27)
* Update UpdateCommand.php Compatibility with Laravel 5.5. * Update UpdateCommand.php remove spaces.
1 parent d9288e9 commit 39fcea4

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/Console/UpdateCommand.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function __construct(array $config)
4141
/**
4242
* Execute the console command.
4343
*/
44-
public function fire()
44+
public function handle()
4545
{
4646
$result = $this->geoIPUpdater->update();
4747

@@ -53,4 +53,12 @@ public function fire()
5353

5454
$this->info('New update file ('.$result.') installed.');
5555
}
56+
57+
/**
58+
* Compatibility with old versions of Laravel.
59+
*/
60+
public function fire()
61+
{
62+
$this->handle();
63+
}
5664
}

0 commit comments

Comments
 (0)