Skip to content

Commit debc8ec

Browse files
docs: fix typo in Response status-code example ("can used")
The README example for Response::STATUS_* constants was missing "be" ("can used as"). No other changes.
1 parent a58e432 commit debc8ec

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2444,7 +2444,7 @@ On top of this, this class implements the
24442444
[PSR-7 Message Util `StatusCodeInterface`](https://github.com/php-fig/http-message-util/blob/master/src/StatusCodeInterface.php)
24452445
which means that most common HTTP status codes are available as class
24462446
constants with the `STATUS_*` prefix. For instance, the `200 OK` and
2447-
`404 Not Found` status codes can used as `Response::STATUS_OK` and
2447+
`404 Not Found` status codes can be used as `Response::STATUS_OK` and
24482448
`Response::STATUS_NOT_FOUND` respectively.
24492449

24502450
> Internally, this implementation builds on top of a base class which is

‎src/Message/Response.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
* [PSR-7 Message Util `StatusCodeInterface`](https://github.com/php-fig/http-message-util/blob/master/src/StatusCodeInterface.php)
3939
* which means that most common HTTP status codes are available as class
4040
* constants with the `STATUS_*` prefix. For instance, the `200 OK` and
41-
* `404 Not Found` status codes can used as `Response::STATUS_OK` and
41+
* `404 Not Found` status codes can be used as `Response::STATUS_OK` and
4242
* `Response::STATUS_NOT_FOUND` respectively.
4343
*
4444
* > Internally, this implementation builds on top a base class which is

‎src/Message/Response.v1.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
* [PSR-7 Message Util `StatusCodeInterface`](https://github.com/php-fig/http-message-util/blob/master/src/StatusCodeInterface.php)
3333
* which means that most common HTTP status codes are available as class
3434
* constants with the `STATUS_*` prefix. For instance, the `200 OK` and
35-
* `404 Not Found` status codes can used as `Response::STATUS_OK` and
35+
* `404 Not Found` status codes can be used as `Response::STATUS_OK` and
3636
* `Response::STATUS_NOT_FOUND` respectively.
3737
*
3838
* > Internally, this implementation builds on top a base class which is

0 commit comments

Comments
 (0)