Skip to content

Commit

Permalink
Changed RecipientRequest parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
asumikam authored and asumikam committed Aug 19, 2024
1 parent a31f54c commit 8452c96
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Recipients/CreateRecipientsRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
class CreateRecipientsRequest extends \ArrayIterator
{
/**
* @param array<RecipientRequest> $emails
* @param array<RecipientRequest> $recipients
*/
public function __construct(
array $emails,
array $recipients,
) {
parent::__construct($emails);
parent::__construct($recipients);
}
}
2 changes: 2 additions & 0 deletions src/Recipients/RecipientRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
{
public function __construct(
public string $email,
public string $firstName = '',
public string $lastName = '',
) {
}
}

0 comments on commit 8452c96

Please sign in to comment.