Skip to content

Commit

Permalink
Fix container configuration when not installed
Browse files Browse the repository at this point in the history
  • Loading branch information
franzliedke committed May 8, 2020
1 parent a5e286e commit ecdce44
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 @@ -72,12 +72,12 @@ private function bootLaravel(): Container

$laravel->register(InstallServiceProvider::class);

$laravel->singleton(
$container->singleton(
SettingsRepositoryInterface::class,
UninstalledSettingsRepository::class
);

$laravel->singleton('view', function ($app) {
$container->singleton('view', function ($app) {
$engines = new EngineResolver();
$engines->register('php', function () {
return new PhpEngine();
Expand Down

0 comments on commit ecdce44

Please sign in to comment.