Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Apr 25, 2021
1 parent a5c5e23 commit db460a0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/Http/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ private function checkHeaders(): void
ob_get_length() &&
!array_filter(ob_get_status(true), function (array $i): bool { return !$i['chunk_size']; })
) {
trigger_error('Possible problem: you are sending a HTTP header while already having some data in output buffer. Try Tracy\OutputDebugger or start session earlier.');
trigger_error('Possible problem: you are sending a HTTP header while already having some data in output buffer. Try Tracy\OutputDebugger or send cookies/start session earlier.');
}
}
}
1 change: 0 additions & 1 deletion tests/Http.DI/HttpExtension.featurePolicy.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ $container = new Container;
$container->initialize();

$headers = headers_list();
var_dump($headers);

Assert::contains("Feature-Policy: unsized-media 'none'; geolocation 'self' https://example.com; camera *;", $headers);

Expand Down

0 comments on commit db460a0

Please sign in to comment.