We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99c2cbd commit c1223c4Copy full SHA for c1223c4
src/Emitter/SapiEmitterTrait.hack
@@ -30,10 +30,10 @@ trait SapiEmitterTrait {
30
31
private function assertNoPreviousOutput(): void {
32
if (headers_sent()) {
33
- //throw EmitterException::forHeadersSent();
+ throw EmitterException::forHeadersSent();
34
}
35
if (ob_get_level() > 0 && ob_get_length() > 0) {
36
- //throw EmitterException::forOutputSent();
+ throw EmitterException::forOutputSent();
37
38
39
0 commit comments