Skip to content

Commit b338ce8

Browse files
committed
Fixed alias loading to be Lumen-compatible
1 parent e5d1020 commit b338ce8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Providers/GeocoderService.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ public function boot()
4646
*/
4747
public function register()
4848
{
49-
AliasLoader::getInstance()->alias('Geocoder', Geocoder::class);
50-
49+
$this->app->alias('Geocoder', Geocoder::class);
5150
$this->app->singleton('geocoder', function () {
5251
$geocoder = new ProviderAndDumperAggregator();
5352
$geocoder->registerProviders(

0 commit comments

Comments
 (0)