Skip to content

Commit 0f140e5

Browse files
committed
Merge branch '4.4' into 5.2
* 4.4: [PHPDoc] Fix some union type cases
2 parents 1b20922 + 6198e1d commit 0f140e5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Address.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public static function create($address): self
114114
}
115115

116116
/**
117-
* @param (Address|string)[] $addresses
117+
* @param array<Address|string> $addresses
118118
*
119119
* @return Address[]
120120
*/

Header/Headers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function getMaxLineLength(): int
7575
}
7676

7777
/**
78-
* @param (Address|string)[] $addresses
78+
* @param array<Address|string> $addresses
7979
*
8080
* @return $this
8181
*/

Part/Multipart/FormDataPart.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ final class FormDataPart extends AbstractMultipartPart
2626
private $fields = [];
2727

2828
/**
29-
* @param (string|array|DataPart)[] $fields
29+
* @param array<string|array|DataPart> $fields
3030
*/
3131
public function __construct(array $fields = [])
3232
{

0 commit comments

Comments
 (0)