Skip to content

Commit

Permalink
Style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
trowski committed Jan 12, 2025
1 parent 03cd3cf commit e472e56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Internal/EventInvoker.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public function requestBodyEnd(Request $request, Stream $stream): void
public function responseHeaderStart(Request $request, Stream $stream): void
{
$previousPhase = self::getPhase($request);
if (!in_array($previousPhase, [
if (!\in_array($previousPhase, [
Phase::RequestHeaders,
Phase::RequestBody,
Phase::ServerProcessing,
Expand Down
2 changes: 1 addition & 1 deletion test/Connection/Http2ConnectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ public function testServerGoAwayFrame(): void

public function testServerEarlyResponse(): void
{
$request = new Request('http://localhost/', 'POST', BufferedContent::fromString(str_repeat('a', 2 ** 10)));
$request = new Request('http://localhost/', 'POST', BufferedContent::fromString(\str_repeat('a', 2 ** 10)));
events()->requestStart($request);
$stream = $this->connection->getStream($request);

Expand Down

0 comments on commit e472e56

Please sign in to comment.