Skip to content

Commit

Permalink
L8 requires constructor arguments to PhpEngine
Browse files Browse the repository at this point in the history
  • Loading branch information
askvortsov1 committed Mar 15, 2021
1 parent 92e590f commit 9fffb8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Foundation/UninstalledSite.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ protected function bootLaravel(): Container

$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);
Expand Down

0 comments on commit 9fffb8e

Please sign in to comment.