Skip to content

Commit b788545

Browse files
committed
refactor: use config()
1 parent 02188a7 commit b788545

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Commands/Setup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ private function setupEmail(): void
316316
return;
317317
}
318318

319-
$config = new EmailConfig();
319+
$config = config(EmailConfig::class);
320320
$fromEmail = (string) $config->fromEmail; // Old Config may return null.
321321
$fromName = (string) $config->fromName;
322322

0 commit comments

Comments
 (0)