Skip to content

Commit 83ad4a4

Browse files
committed
fixes for #1810
1 parent daf4afe commit 83ad4a4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Config/NotificationMailConfig.php

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
class NotificationMailConfig extends Data
99
{
10+
/** @param string|array<string> $to */
1011
protected function __construct(
1112
public string|array $to,
1213
public NotificationMailSenderConfig $from,

tests/Notifications/EventHandlerTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363

6464
$config = NotificationMailConfig::fromArray($data);
6565

66-
expect($config->to)->toBe(['[email protected]']);
66+
expect($config->to)->toBe('[email protected]');
6767
});
6868

6969
it('will accept multiple email addresses', function () {

0 commit comments

Comments
 (0)