Skip to content

Commit

Permalink
fix nullable recorders error
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Oct 26, 2022
1 parent 77c36c3 commit 2b79cf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IgnitionServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ protected function registerLogHandler(): void

protected function startRecorders(): void
{
foreach ($this->app->config['ignition.recorders'] as $recorder) {
foreach ($this->app->config['ignition.recorders'] ?? [] as $recorder) {
$this->app->make($recorder)->start();
}
}
Expand Down

0 comments on commit 2b79cf6

Please sign in to comment.