Skip to content

Commit 2404804

Browse files
committed
docs: add comments
1 parent d6150ff commit 2404804

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

system/HTTP/Message.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ public function getBody()
6161
*
6262
* @deprecated Use Message::headers() to make room for PSR-7
6363
*
64+
* @TODO Incompatible return value with PSR-7
65+
*
6466
* @codeCoverageIgnore
6567
*/
6668
public function getHeaders(): array
@@ -76,6 +78,8 @@ public function getHeaders(): array
7678
*
7779
* @deprecated Use Message::header() to make room for PSR-7
7880
*
81+
* @TODO Incompatible return value with PSR-7
82+
*
7983
* @codeCoverageIgnore
8084
*/
8185
public function getHeader(string $name)

system/HTTP/OutgoingRequestInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515

1616
/**
1717
* Representation of an outgoing, client-side request.
18+
*
19+
* Corresponds to Psr7\RequestInterface.
1820
*/
1921
interface OutgoingRequestInterface extends MessageInterface
2022
{

system/HTTP/RequestInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
/**
1515
* Representation of an incoming, server-side HTTP request.
16+
*
17+
* Corresponds to Psr7\ServerRequestInterface.
1618
*/
1719
interface RequestInterface extends OutgoingRequestInterface
1820
{

0 commit comments

Comments
 (0)