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

Commit 1989faf

Browse files
boboldehampsinkmsonowal
authored andcommitted
Improve Lumen support
1 parent 26de689 commit 1989faf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Engines/Modes/Mode.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ abstract class Mode
1313

1414
public function __construct()
1515
{
16-
$this->modelService = resolve(ModelService::class);
16+
$this->modelService = app(ModelService::class);
1717
}
1818

1919
abstract public function buildWhereRawString(Builder $builder);

src/Providers/MySQLScoutServiceProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function boot()
2424
}
2525

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

0 commit comments

Comments
 (0)