Skip to content

Commit 4c8b42b

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 e0fd73d + fbc6ebf commit 4c8b42b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public function getHeaders()
123123
* @param string $header The header name
124124
* @param bool $first Whether to return the first value or all header values
125125
*
126-
* @return string|array The first header value if $first is true, an array of values otherwise
126+
* @return string|array|null The first header value if $first is true, an array of values otherwise
127127
*/
128128
public function getHeader($header, $first = true)
129129
{

0 commit comments

Comments
 (0)