Skip to content

Commit de03587

Browse files
author
Greg Bowler
committed
tweak: internal status code could be null
1 parent 677c456 commit de03587

File tree

2 files changed

+40
-36
lines changed

2 files changed

+40
-36
lines changed

composer.lock

Lines changed: 39 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public function redirect(
119119

120120
/** @inheritDoc */
121121
public function getStatusCode():int {
122-
return $this->statusCode;
122+
return $this->statusCode ?? 0;
123123
}
124124

125125
/** @inheritDoc */

0 commit comments

Comments
 (0)