We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b26809f commit 65b01f6Copy full SHA for 65b01f6
1 file changed
system/Config/Factories.php
@@ -377,7 +377,7 @@ public static function getOptions(string $component): array
377
// Handle Config as a special case to prevent logic loops
378
? self::$configOptions
379
// Load values from the best Factory configuration (will include Registrars)
380
- : config(Factory::class)->{$component} ?? [];
+ : config('Factory')->{$component} ?? [];
381
382
// The setOptions() reset the component. So getOptions() may reset
383
// the component.
0 commit comments