@@ -138,7 +138,7 @@ class Response
138
138
*
139
139
* The list of codes is complete according to the
140
140
* {@link https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml Hypertext Transfer Protocol (HTTP) Status Code Registry}
141
- * (last updated 2018-09-21 ).
141
+ * (last updated 2021-10-01 ).
142
142
*
143
143
* Unless otherwise noted, the status code is defined in RFC2616.
144
144
*
@@ -180,14 +180,14 @@ class Response
180
180
410 => 'Gone ' ,
181
181
411 => 'Length Required ' ,
182
182
412 => 'Precondition Failed ' ,
183
- 413 => 'Payload Too Large ' ,
183
+ 413 => 'Content Too Large ' , // RFC-ietf-httpbis-semantics
184
184
414 => 'URI Too Long ' ,
185
185
415 => 'Unsupported Media Type ' ,
186
186
416 => 'Range Not Satisfiable ' ,
187
187
417 => 'Expectation Failed ' ,
188
188
418 => 'I \'m a teapot ' , // RFC2324
189
189
421 => 'Misdirected Request ' , // RFC7540
190
- 422 => 'Unprocessable Entity ' , // RFC4918
190
+ 422 => 'Unprocessable Content ' , // RFC-ietf-httpbis-semantics
191
191
423 => 'Locked ' , // RFC4918
192
192
424 => 'Failed Dependency ' , // RFC4918
193
193
425 => 'Too Early ' , // RFC-ietf-httpbis-replay-04
@@ -1078,8 +1078,6 @@ public function setVary($headers, bool $replace = true): object
1078
1078
* If the Response is not modified, it sets the status code to 304 and
1079
1079
* removes the actual content by calling the setNotModified() method.
1080
1080
*
1081
- * @return bool
1082
- *
1083
1081
* @final
1084
1082
*/
1085
1083
public function isNotModified (Request $ request ): bool
0 commit comments