Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Commit

Permalink
Improve Lumen support
Browse files Browse the repository at this point in the history
  • Loading branch information
boboldehampsink authored and msonowal committed Dec 11, 2018
1 parent 26de689 commit 1989faf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Engines/Modes/Mode.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ abstract class Mode

public function __construct()
{
$this->modelService = resolve(ModelService::class);
$this->modelService = app(ModelService::class);
}

abstract public function buildWhereRawString(Builder $builder);
Expand Down
2 changes: 1 addition & 1 deletion src/Providers/MySQLScoutServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function boot()
}

$this->app->make(EngineManager::class)->extend('mysql', function () {
return new MySQLEngine(resolve(ModeContainer::class));
return new MySQLEngine(app(ModeContainer::class));
});
}

Expand Down

0 comments on commit 1989faf

Please sign in to comment.