We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c929ab commit b233e11Copy full SHA for b233e11
1 file changed
src/Config/Services.php
@@ -30,8 +30,6 @@ public static function settings(?SettingsConfig $config = null, bool $getShared
30
return static::getSharedInstance('settings', $config);
31
}
32
33
- $config ??= config('Settings');
34
-
35
- return new Settings($config);
+ return new Settings($config ?? config('Settings'));
36
37
0 commit comments