mirror of
https://github.com/flarum/core.git
synced 2025-01-17 22:29:15 +01:00
L8 requires constructor arguments to PhpEngine
This commit is contained in:
parent
92e590f1ab
commit
9fffb8ec1a
@ -86,8 +86,8 @@ class UninstalledSite implements SiteInterface
|
||||
|
||||
$container->singleton('view', function ($container) {
|
||||
$engines = new EngineResolver();
|
||||
$engines->register('php', function () {
|
||||
return new PhpEngine();
|
||||
$engines->register('php', function () use ($container) {
|
||||
return $container->make(PhpEngine::class);
|
||||
});
|
||||
$finder = new FileViewFinder($container->make('files'), []);
|
||||
$dispatcher = $container->make(Dispatcher::class);
|
||||
|
Loading…
x
Reference in New Issue
Block a user