We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c4a942 commit 6bfbd70Copy full SHA for 6bfbd70
src/Config/NotificationMailSenderConfig.php
@@ -15,7 +15,7 @@ protected function __construct(
15
/** @param array<mixed> $data */
16
public static function fromArray(array $data): self
17
{
18
- $address = $data['from']['address'] ?? config('mail.from.address');
+ $address = $data['address'] ?? config('mail.from.address');
19
20
if ($address === null) {
21
throw InvalidConfig::missingSender();
@@ -27,7 +27,7 @@ public static function fromArray(array $data): self
27
28
return new self(
29
address: $address,
30
- name: $data['from']['name'] ?? config('mail.from.name'),
+ name: $data['name'] ?? config('mail.from.name'),
31
);
32
}
33
0 commit comments