Skip to content

Commit

Permalink
Merge branch 'main' of github.com:spatie/laravel-error-solutions
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Jun 26, 2024
2 parents 034e5fd + a5275ef commit 4c129d3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/LaravelErrorSolutionsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function bootingPackage()
return new SolutionProviderRepository($solutionProviders);
});

app()->bind(RunnableSolutionsGuard::class, fn() => new RunnableSolutionsGuard());
app()->bind(RunnableSolutionsGuard::class, fn () => new RunnableSolutionsGuard());

app()->bind(Renderer::class, function () {
$errorRenderer = new HtmlErrorRenderer(
Expand All @@ -58,9 +58,8 @@ public function bootingPackage()
);
});


if ($this->canIncludeViews()) {
View::prependNamespace('laravel-exceptions-renderer', [__DIR__ . '/../resources/views']);
View::prependNamespace('laravel-exceptions-renderer', [__DIR__.'/../resources/views']);
}
}

Expand Down

0 comments on commit 4c129d3

Please sign in to comment.