Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 793260c

Browse filesBrowse files
Improve return type of Header::all
1 parent b5a10ce commit 793260c
Copy full SHA for 793260c

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed

‎src/Symfony/Component/HttpFoundation/HeaderBag.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpFoundation/HeaderBag.php
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ public function __toString(): string
6464
* @param string|null $key The name of the headers to return or null to get them all
6565
*
6666
* @return array<string, array<int, string|null>>|array<int, string|null>
67+
* @psalm-return ($key is null ? array<string, array<int, string|null>> : array<int, string|null>)
6768
*/
6869
public function all(string $key = null): array
6970
{

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.