Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell authored and nunomaduro committed May 27, 2024
1 parent 9f6cae3 commit 130e6eb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Foundation/Exceptions/Renderer/Renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class Renderer
protected $htmlErrorRenderer;

/**
* The blade mapper instance.
* The Blade mapper instance.
*
* @var \Illuminate\Foundation\Exceptions\Renderer\Mappers\BladeMapper
*/
Expand Down Expand Up @@ -77,7 +77,7 @@ public function __construct(
}

/**
* Renders the given exception as HTML string.
* Render the given exception as an HTML string.
*
* @param \Illuminate\Http\Request $request
* @param \Throwable $throwable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ public function boot()
}

if ($this->app->hasDebugModeEnabled()) {
$this->app->make(Listener::class)->registerListeners($this->app->make(Dispatcher::class));
$this->app->make(Listener::class)->registerListeners(
$this->app->make(Dispatcher::class)
);
}
}

Expand All @@ -85,7 +87,7 @@ public function register()
$this->registerRequestValidation();
$this->registerRequestSignatureValidation();
$this->registerExceptionTracking();
$this->registerExceptionsRenderer();
$this->regsiterExceptionRenderer();
$this->registerMaintenanceModeManager();
}

Expand Down Expand Up @@ -213,7 +215,7 @@ protected function registerExceptionTracking()
*
* @return void
*/
protected function registerExceptionsRenderer()
protected function regsiterExceptionRenderer()
{
if (! $this->app->hasDebugModeEnabled()) {
return;
Expand Down

0 comments on commit 130e6eb

Please sign in to comment.