Skip to content

Commit 78b7ffc

Browse files
committed
minor #40728 [PHPDoc] Fix some union type cases (fancyweb)
This PR was merged into the 4.4 branch. Discussion ---------- [PHPDoc] Fix some union type cases | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - While working on symfony/symfony#40154, I discovered some PHPDoc issues, I'm going to comment in the review. Upper branches will need some fixes too. Commits ------- dd1481642b [PHPDoc] Fix some union type cases
2 parents 3903808 + 78f45d3 commit 78b7ffc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

EventListener/EnvelopeListener.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ class EnvelopeListener implements EventSubscriberInterface
2727
private $recipients;
2828

2929
/**
30-
* @param Address|string $sender
31-
* @param (Address|string)[] $recipients
30+
* @param Address|string $sender
31+
* @param array<Address|string> $recipients
3232
*/
3333
public function __construct($sender = null, array $recipients = null)
3434
{

0 commit comments

Comments
 (0)