Skip to content

Commit 6d90020

Browse files
authored
Fix Swoole\Http\Response@end may return null (#31)
1 parent 26e0b65 commit 6d90020

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/WritableConnection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function getSocket(): mixed
3434
return $this->response;
3535
}
3636

37-
public function end(): bool
37+
public function end(): ?bool
3838
{
3939
return $this->response->end();
4040
}

0 commit comments

Comments
 (0)