Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFreeman committed Feb 24, 2024
1 parent a6f5a51 commit d0ac037
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/FastCGI/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function __toString(): string
$paramsFrame = new Params($this->getParams());
$paramsEofFrame = new Params([]);
if (empty($body)) {
$message = "{$beginRequestFrame}{$paramsFrame}{$paramsEofFrame}}";
$message = "{$beginRequestFrame}{$paramsFrame}{$paramsEofFrame}";
} else {
$stdinList = [];
while (true) {
Expand All @@ -40,7 +40,7 @@ public function __toString(): string
}
$stdinList[] = new Stdin('');
$stdin = implode('', $stdinList);
$message = "{$beginRequestFrame}{$paramsFrame}{$paramsEofFrame}{$stdin}}";
$message = "{$beginRequestFrame}{$paramsFrame}{$paramsEofFrame}{$stdin}";
}
return $message;
}
Expand Down

0 comments on commit d0ac037

Please sign in to comment.