Skip to content

Commit

Permalink
docs: add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Oct 17, 2022
1 parent d6150ff commit 2404804
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions system/HTTP/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ public function getBody()
*
* @deprecated Use Message::headers() to make room for PSR-7
*
* @TODO Incompatible return value with PSR-7
*
* @codeCoverageIgnore
*/
public function getHeaders(): array
Expand All @@ -76,6 +78,8 @@ public function getHeaders(): array
*
* @deprecated Use Message::header() to make room for PSR-7
*
* @TODO Incompatible return value with PSR-7
*
* @codeCoverageIgnore
*/
public function getHeader(string $name)
Expand Down
2 changes: 2 additions & 0 deletions system/HTTP/OutgoingRequestInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

/**
* Representation of an outgoing, client-side request.
*
* Corresponds to Psr7\RequestInterface.
*/
interface OutgoingRequestInterface extends MessageInterface
{
Expand Down
2 changes: 2 additions & 0 deletions system/HTTP/RequestInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

/**
* Representation of an incoming, server-side HTTP request.
*
* Corresponds to Psr7\ServerRequestInterface.
*/
interface RequestInterface extends OutgoingRequestInterface
{
Expand Down

0 comments on commit 2404804

Please sign in to comment.