Skip to content

Commit

Permalink
Fix $extraAdapters initialization by setting it to an empty array.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-androshchuk committed Feb 21, 2025
1 parent 0dd941d commit 7cb72e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Env.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Env
*
* @var array<\Dotenv\Repository\Adapter\AdapterInterface>
*/
protected static $extraAdapters;
protected static $extraAdapters = [];

/**
* Enable the putenv adapter.
Expand Down

0 comments on commit 7cb72e3

Please # to comment.