Fix formatting
This commit is contained in:
parent
3d88ae7916
commit
b024650eaf
|
@ -62,10 +62,6 @@ class LegacyDevelopment extends Legacy
|
||||||
return $return;
|
return $return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @param mixed $arg
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
private function getDisplayNameOfValue(mixed $arg): string
|
private function getDisplayNameOfValue(mixed $arg): string
|
||||||
{
|
{
|
||||||
return match (gettype($arg)) {
|
return match (gettype($arg)) {
|
||||||
|
|
|
@ -48,7 +48,10 @@ class MailerServiceProvider extends ServiceProvider
|
||||||
{
|
{
|
||||||
return match ($transport) {
|
return match ($transport) {
|
||||||
'log' => $this->app->make(LogTransport::class),
|
'log' => $this->app->make(LogTransport::class),
|
||||||
'mail', 'sendmail' => $this->app->make(SendmailTransport::class, ['command' => $config['sendmail'] ?? null]),
|
'mail', 'sendmail' => $this->app->make(
|
||||||
|
SendmailTransport::class,
|
||||||
|
['command' => $config['sendmail'] ?? null]
|
||||||
|
),
|
||||||
'smtp' => $this->getSmtpTransport($config),
|
'smtp' => $this->getSmtpTransport($config),
|
||||||
default => Transport::fromDsn($transport ?? ''),
|
default => Transport::fromDsn($transport ?? ''),
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue