Skip to content

Commit 1bd2480

Browse files
committed
Fix throwing errors when installed when config cache is active
1 parent b0088db commit 1bd2480

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Sentry/Laravel/ServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ private function getIntegrations(): array
211211
*/
212212
private function getUserConfig(): array
213213
{
214-
return $this->app['config'][static::$abstract];
214+
return $this->app['config'][static::$abstract] ?? [];
215215
}
216216

217217
/**

0 commit comments

Comments
 (0)