Skip to content

Commit db08b54

Browse files
committed
Update Response::getStatus method
1 parent 31e286c commit db08b54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ public function removeCspReportOnly() : static
326326
public function getStatus() : string
327327
{
328328
$reason = '';
329-
if ($this->getProtocol() < 'HTTP/2') {
329+
if ($this->getProtocol() < Protocol::HTTP_2) {
330330
$reason = ' ' . $this->statusReason;
331331
}
332332
return $this->statusCode . $reason;

0 commit comments

Comments
 (0)